read_chunk
Fetch and validate source text for a given chunk ID, including call-graph context and repo memories. Use after a search returns a chunk ID.
Instructions
Read the current source text for one chunk id, validated against HEAD (relocates or flags stale/gone), with compact call-graph context and bound repo memories. Use to read exact text after a search returns a chunk_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | What to include: `memories` (on by default). Pass `include: []` to suppress. | |
| chunk_id | Yes | ||
| worktree | No | Absolute path to a linked git worktree you're working in; serves that worktree's branch overlay over the indexed checkout. Omit (or pass an unrelated path) for the indexed checkout. | |
| graph_limit | No | ||
| include_graph | No | compact |