List voice agents
list_agentsList voice agents
Returns the voice agents visible to the key, one page at a time, with a real total from a separate count query. An ordinary account key sees only its own agents; a reseller key sees every agent belonging to that reseller and can narrow the result to one customer with userId. Each item is the list form of an agent: no prompt, no model settings and no privacy settings, so fetch the individual agent when you need those. Note that the status query parameter is read but never applied, so passing it does not filter anything at present.
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 |
|---|---|---|---|
| page | No | Page to return. Starts at 1; values below 1 are clamped to 1. | |
| status | No | Currently ignored. The handler parses this value but does not filter on it, so the response is the same whether or not it is sent. | |
| userId | No | Reseller keys only: restrict the result to a single customer account. The key must be a reseller key and the account must be one of that reseller customers, otherwise the request is rejected with 403. Ignored for ordinary account keys, which always see only their own records. | |
| perPage | No | Items per page. Clamped to the range 1 to 100; larger values are reduced to 100. |