list_documents
List documents (files + external links) in a workspace library. Returns id, name, fileName, mimeType, size, linkedMode (FILE | LINK), externalProvider, externalUrl, uploader, timestamps. Newest first. Use list_libraries first to discover the libraryId.
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": {
"libraryId": "<libraryId>"
},
"name": "list_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Default 100, max 500. | |
| cursor | No | Last document id from the previous page (nextCursor). | |
| libraryId | Yes | DocumentLibrary id |