List chatbots
list_chatbotsList chatbots
Returns the chatbots visible to the key, newest first. An ordinary account key sees only its own chatbots; a reseller key sees every chatbot belonging to that reseller and can narrow the result to one customer with userId. Paging defaults to 100 items per page, which is also the maximum. pagination.total is a real count of every chatbot matching the request, produced by a separate count query, so a page count can be worked out from 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_chatbots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page to return. Starts at 1; values below 1 are clamped to 1. | |
| 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. |