Browse document archive
list_documentsLists folders and files in a document archive folder, with optional sorting by date, name, or creation; omit folder ID to view the archive root.
Instructions
List the folders and files in one folder of the document archive.
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 |
|---|---|---|---|
| order | No | date | |
| folder_id | No | Folder id; omit for the archive root. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| entries | Yes | ||
| folder_id | Yes |