md_read
Returns a Markdown field (task or bug spec and result, feature or product spec, version notes) in parts: a page of up to 40 thousand characters, a section by heading or ::: doc title, or a line range; the response holds { fromLine, toLine, totalLines, hasMore, nextFromLine, sha } and the text as a separate block. Useful when a context shows a large field as null with an outline.
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": {
"entity": "<entity>",
"field": "<field>"
},
"name": "md_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ID | No | Entity ID; a task or feature can also be addressed by key. | |
| doc | No | Nested ::: doc section by its title. | |
| key | No | Task number or feature key (#F12) when the ID is unknown. | |
| line | No | Line of the heading or section from the outline when the title repeats. | |
| field | Yes | spec; result for a task; notes for a version. | |
| limit | No | Number of lines, within one page. | |
| entity | Yes | task (a task or bug), feature, product or version. | |
| section | No | Section by its heading line with hashes, e.g. "## Decisions". | |
| fromLine | No | First line, from 1. | |
| lineNumbers | No | true - line numbers in the text. |