Tools
List tools
GET
/api/v1/agents/{agentId}/tools
List tools
Returns tools configured for an agent. HMAC secrets are never included in responses. Each tool defines a webhook endpoint that Eloquent calls when the agent uses that tool.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
agentId * |
path | integer | Internal agent id that owns the tool. |
Responses
| Status | Schema | Description |
|---|---|---|
200 |
Tool[] | Tools configured for the agent |
401 |
ToolError | Missing or invalid auth |
403 |
ToolError | Caller cannot access tools for this agent |
Example 200 response
[
{
"id": 1,
"name": "string",
"description": "string",
"schema": [],
"endpointUrl": "string",
"createdAt": "string",
"updatedAt": "string"
}
]
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"
}
]
}