PATCH
/
api
/
agents
/
{agentId}
/
tools
/
{toolId}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

agentId
string
required
toolId
string
required

Body

application/json
type
enum<string>
required
Available options:
http,
datastore,
mark_as_resolved,
request_human,
delayed_responses,
follow_up_messages
datastoreId
string

Required when type is 'datastore'.

formId
string

Required when type is 'form'.

isRaw
boolean

Only applicable when type is 'http'. If true, the tool is configured with a raw cURL command.

config
object

Configuration object that varies based on the tool 'type'.

Response

200 - application/json
id
string
type
enum<string>
required
Available options:
http,
datastore,
mark_as_resolved,
request_human,
delayed_responses,
follow_up_messages
datastoreId
string

Required when type is 'datastore'.

formId
string

Required when type is 'form'.

isRaw
boolean

Only applicable when type is 'http'. If true, the tool is configured with a raw cURL command.

config
object

Configuration object that varies based on the tool 'type'.