List documents
list_documentsRetrieve documents from the active workspace, newest first, filtering by status, type, or collection to get metadata before reading full content.
Instructions
List documents in the active workspace, newest first. Filterable by status, type, and collection. Returns metadata only. Call get_document to read the body.
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_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| limit | No | Default 50. | |
| offset | No | Skip this many docs. Default 0. | |
| status | No | Default 'active' (excludes archived). 'all' includes archived. | |
| favorite | No | Only return favorited docs. | |
| collection | No | Exact collection name match. |