Tools
Delete tool
DELETE
/api/v1/agents/{agentId}/tools/{toolId}
Delete tool
Deletes a tool from an agent.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
agentId * |
path | integer | Internal agent id that owns the tool. |
toolId * |
path | integer | Internal tool id. |
Responses
| Status | Schema | Description |
|---|---|---|
200 |
ToolDelete | Tool deleted |
401 |
ToolError | Missing or invalid auth |
403 |
ToolError | Caller cannot delete tools for this agent |
404 |
ToolError | Tool not found |
Example 200 response
{
"success": true
}
Example 401 response
{
"error": "string",
"message": "string",
"issues": [
{
"path": [
"string"
],
"message": "string",
"code": "string"
}
]
}
Example 403 response
{
"error": "string",
"message": "string",
"issues": [
{
"path": [
"string"
],
"message": "string",
"code": "string"
}
]
}
Example 404 response
{
"error": "string",
"message": "string",
"issues": [
{
"path": [
"string"
],
"message": "string",
"code": "string"
}
]
}