get_context
Retrieve structured context for code targets: files, modules, or symbols. Returns relationships, signatures, summaries, and decision records to understand codebase without reading full source.
Instructions
Triage card for files / modules / symbols — relationships, not source bytes.
Returns title, summary, signatures, hotspot bit, decision_record titles,
and symbol_ids to pipe into get_symbol (cheaper than Read for bodies).
Batch targets in one call. File targets above ~80 lines default to a
skeleton (every signature + top-PageRank bodies, with a verified flag —
a fraction of Read cost); ``mostly_full`` marks files where a direct
Read costs little more.
Args:
targets: file paths, module paths, or "path::Symbol" ids.
include: opt-in blocks: full_doc | ownership | last_change | callers
| callees | metrics | community | decisions | skeleton.
compact: default True; False adds structure+imports+docstrings.
repo: usually omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | ||
| compact | No | ||
| include | No | ||
| targets | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |