read_file
Read local markdown files by relative path, or retrieve only a specific section by header name. Access documentation and notes without uploading or embeddings.
Instructions
Read a markdown file by its relative path (as shown by list_files / search_markdown), either in full or just one section.
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": {
"path": "<path>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative path of the file, e.g. "notes/project.md" | |
| section | No | Optional header name (or part of one) to return only the matching section(s) instead of the whole file, e.g. "Setup" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |