Tools

Manage agent tools and actions

List tools

get

Retrieve a list of all tools for the authenticated user

Authorizations
X-API-KeystringRequired

API key for authentication

Query parameters
pageintegerOptionalDefault: 1
limitintegerOptionalDefault: 50
typestring · enumOptionalPossible values:
Responses
chevron-right
200

Successful response

application/json
get
/agent-tools
200

Successful response

Create tool

post

Create a new tool

Authorizations
X-API-KeystringRequired

API key for authentication

Body
typestring · enumRequired

Tool type - 'http' for HTTP API tools, 'client' for client-side tools

Possible values:
namestringRequired

Tool display name

modelToolNamestringRequired

Name used by AI model (must be unique)

descriptionstringOptional

Tool description

baseUrlPatternstringOptional

API endpoint URL (required for http tools)

httpMethodstring · enumOptional

HTTP method (required for http tools)

Possible values:
Responses
post
/agent-tools

Get tool

get

Retrieve a specific tool by ID

Authorizations
X-API-KeystringRequired

API key for authentication

Path parameters
idstringRequired
Responses
chevron-right
200

Successful response

application/json
get
/agent-tools/{id}
200

Successful response

Update tool

put

Update an existing tool

Authorizations
X-API-KeystringRequired

API key for authentication

Path parameters
idstringRequired
Body
typestring · enumRequired

Tool type - 'http' for HTTP API tools, 'client' for client-side tools

Possible values:
namestringRequired

Tool display name

modelToolNamestringRequired

Name used by AI model (must be unique)

descriptionstringOptional

Tool description

baseUrlPatternstringOptional

API endpoint URL (required for http tools)

httpMethodstring · enumOptional

HTTP method (required for http tools)

Possible values:
Responses
chevron-right
200

Tool updated successfully

application/json
put
/agent-tools/{id}
200

Tool updated successfully

Delete tool

delete

Delete a tool

Authorizations
X-API-KeystringRequired

API key for authentication

Path parameters
idstringRequired
Responses
chevron-right
200

Tool deleted successfully

No content

delete
/agent-tools/{id}
200

Tool deleted successfully

No content

List system tools

get

Retrieve a list of available system tools

Authorizations
X-API-KeystringRequired

API key for authentication

Responses
chevron-right
200

Successful response

application/json
get
/agent-tools/system
200

Successful response

List agent tools

get

Get all tools assigned to an agent

Authorizations
X-API-KeystringRequired

API key for authentication

Path parameters
idstringRequired

Agent ID

Responses
chevron-right
200

Successful response

application/json
get
/agents/{id}/tools

Assign tools to agent

post

Assign one or more tools to an agent

Authorizations
X-API-KeystringRequired

API key for authentication

Path parameters
idstringRequired

Agent ID

Body
toolIdsstring[] · min: 1Required

Array of tool IDs to assign

Responses
chevron-right
200

Tools assigned successfully

application/json
post
/agents/{id}/tools

Remove tool from agent

delete

Remove a tool assignment from an agent

Authorizations
X-API-KeystringRequired

API key for authentication

Path parameters
idstringRequired

Agent ID

toolIdstringRequired

Tool ID

Responses
delete
/agents/{id}/tools/{toolId}

No content

Last updated