Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
Required string length: 1 - 64
Example:

"book_appointment"

description
string
required

When the agent should use the tool

Required string length: 1 - 1024
agentId
string<uuid> | null
inputs
object[]
Maximum array length: 32
invocationCriteria
string | null
expectedResult
string | null
runtime
object | null

Omit or null for a tool that is only graded

Response

The tool

data
object
required