get_context
Retrieve relationships, signatures, hotspots, and decision history for files, modules, or symbols so you can triage code without reading full source. Batch targets and pick includes in one call.
Instructions
Triage card for files / modules / symbols — relationships, not source bytes.
Returns summary, signatures with lines, hotspot, fix_history and
decision titles; either risk cue means get_risk. Batch targets in one
call. Whole file, body-elided and line-verified: include=["skeleton"]
in ONE call, or Read it; do not call get_symbol per signature. Rename:
include=["references"] is the whole edit set when ``complete``. Which
files in a directory lack tests: include=["files"] on it.
Args:
targets: paths, "path::Symbol", "component:<name>",
"change:<id>" (pr-123 or a sha), "package:<name>".
include: callers | callees | references | skeleton | skeleton+
| files | symbols (all, not top 15) | decisions | full_doc
| ownership | last_change | metrics | community | health
| doc_drift | changes | provenance | suspects.
compact: False adds structure, imports, docstrings.
symptom: issue text or stack trace to rank ``suspects`` on.
repo: usually omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | ||
| compact | No | ||
| include | No | ||
| symptom | No | ||
| targets | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |