list_documents
List the workspace's documents, newest first, with each one's latest version.
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 |
|---|---|---|---|
| after | No | The `next` of the previous page. | |
| limit | No | How many to return, up to 100; 100 when absent. | |
| project_id | No | Only this project's documents, `prj_…`; every project's when absent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | Pass it as `after` to get the next page; absent on the last one. | |
| documents | Yes | The documents on this page. |