read_document
Read the published Markdown of one document, usually selected from the read_project index by its update triggers. Optional section is an exact heading; offset and limit_chars paginate at line boundaries. Returns content, revision (the base_revision for changes), section hashes to quote when writing, total_chars, truncated and next_offset.
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": {
"project_id": "<project_id>",
"document_id": "<document_id>"
},
"name": "read_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | ||
| section | No | ||
| project_id | Yes | ||
| document_id | Yes | ||
| limit_chars | No | ||
| result_offset | No |