get_symbol
Reads one symbol by ID from prior results and returns verified, line-numbered source, with optional callee bodies, context lines, and continuation tokens for truncated output.
Instructions
Follow-up read of one symbol whose id another response already gave you.
**Not an entry point.** ``get_answer`` ships ``symbol_bodies``; for a
whole file ``get_context(include=["skeleton"])`` or a Read is one call.
Never walk a file symbol by symbol. Returns verified, line-numbered
source; a truncated result carries the ``continuation`` to pass back.
Args:
symbol_id: "path/to/file.py::Name", "path/to/file.py:140-180" for a
live range, or an omission ref. A bare file path is not an id.
depth: 1 (default) is this symbol alone; 2-3 also returns the bodies
it calls, transitively, in ``callee_bodies``.
context_lines: extra lines before/after (0-50).
query: regex/substring filter on an omission ref's lines.
id, reference: aliases for ``symbol_id``.
repo: usually omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| repo | No | ||
| depth | No | ||
| query | No | ||
| reference | No | ||
| symbol_id | No | ||
| context_lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |