get_context
Fetch triage summaries, signatures, and dependency relationships for files, modules, or symbols to understand code structure without expensive full reads.
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).
fix_history appears only on files with counted bug fixes (count, age,
bug_magnet); hotspot is churn. Either one is a cue to call get_risk.
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 |