List agents
list_agentsList the AI agents in a space, as structured JSON (id, name). Use the id with other tools. This is the structured counterpart to browsing agents/ via inspect_space. Returns 100 agents per page, newest first. When pageInfo.hasNextPage is true, pass pageInfo.endCursor as after to read the next page.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"spaceId": "<spaceId>"
},
"name": "list_agents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Pagination cursor: the `pageInfo.endCursor` of the previous page. Omit for the first page. | |
| spaceId | Yes | Space ID |