read_file
Read allowed governance documents from local projects by following byte offsets and next_offset to EOF, verifying file integrity across chunks. Accesses decisions and action items while excluding restricted content.
Instructions
Read an allowlisted governance document in chunks. Offsets/lengths are BYTES.
Follow next_offset to EOF; compare size/modified_ns across chunks and restart if changed. Maximum chunk 262144 bytes; base64 preserves exact bytes of allowed governance text. Data, source, results, Audit, README and other canonical bodies are never available. Discussion uses read_discussion and its separate permission; this tool cannot read Discussion.
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>",
"path": "<path>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| length | No | ||
| offset | No | ||
| encoding | No | utf-8 | |
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||