List AI agents
list_agentsList one bounded, newest-first page of the authenticated workspace's agents. The result uses the same safe agent item DTO as REST and returns pagination metadata; next_cursor continues the listing and is meaningful only while has_more is true. A page holds at most limit agents and at most 25,000 characters, so it can hold fewer; an agent too large for any page is named in pagination.omitted with the tool that reads it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_agents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | Opaque cursor returned as pagination.next_cursor. | |
| project_id | No | ||
| organization_id | No | Optional. Defaults to the authenticated workspace; when supplied it must be that workspace's id. |