Read an attached document
read_documentRead a document previously attached to a calendar (ids are listed in get_status under documents). Use when revising a plan so the new plan respects the syllabus/history the user provided.
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": {
"calendar_id": "<calendar_id>",
"admin_token": "<admin_token>",
"doc_id": "<doc_id>"
},
"name": "read_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| admin_token | Yes | ||
| calendar_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | A user-safe error message when the document cannot be read. | |
| content | No | The attached document text. |