get_documents
Retrieve full text of up to 50 documents by ID or virtual path in a single call. Returns each document under its own header and isolates read errors so one failure doesn't block the rest.
Instructions
Retrieve up to 50 documents' full text in one call, by ID or path, each under its own header in the order asked. A file that can't be read gets an error line and doesn't stop the others; past 2,000,000 characters in all, the rest get one too. Pair with list_files sort "newest" and limit to read the newest entries of a folder in two calls.
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": {
"containerId": "<containerId>",
"files": "<files>"
},
"name": "get_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | JSON array of document IDs (UUID) or virtual paths, e.g. ["/log/2026-11-08.md","id2"]. Max 50. | |
| containerId | Yes | Container ID or name |