list_kb_docs
List knowledge base documents for an agent in compact mode by default to avoid token-heavy content bodies, with full mode for complete field details.
Instructions
List knowledge base documents for an agent. Default mode=compact (id/name/status/urls — NO content bodies). Use mode=full only if you need every list field; prefer get_kb_doc for one document body.
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": {
"agentId": "<agentId>"
},
"name": "list_kb_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | compact (default): short summary fields only — token-cheap. full: complete API objects (heavy). Prefer get_* for one item. | |
| page | No | Page number (default: 1) | |
| agentId | Yes | The agent ID | |
| pageSize | No | Results per page (default: 20) |