List collections
list_collectionsList all collections in the knowledge base.
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_collections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default: 1). | |
| sort | No | Time order: 'latest_created_at', 'oldest_created_at', 'latest_updated_at', or 'oldest_updated_at'. Omit for the default order. | |
| per_page | No | Items per page (default: 30). | |
| parent_id | No | Filter by parent collection ID to list sub-collections. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| has_more | No | ||
| per_page | No | ||
| collections | No |