agents
List Agent Tools
Get tools from an existing agent
get/v1/agents/{agent_id}/tools
Path parameters
agent_idstring required
Query parameters
beforestring nullable
Tool ID cursor for pagination. Returns tools that come before this tool ID in the specified sort order
Tool ID cursor for pagination. Returns tools that come before this tool ID in the specified sort order
afterstring nullable
Tool ID cursor for pagination. Returns tools that come after this tool ID in the specified sort order
Tool ID cursor for pagination. Returns tools that come after this tool ID in the specified sort order
limitinteger nullable
Maximum number of tools to return
Maximum number of tools to return
order'asc' | 'desc'
Sort order for tools by creation time. 'asc' for oldest first, 'desc' for newest first
Sort order for tools by creation time. 'asc' for oldest first, 'desc' for newest first
order_by'created_at'
Field to sort by
Field to sort by
Response
Successful Response
Example response
[
{
"id": "tool-123e4567-e89b-12d3-a456-426614174000"
}
]