get_minimal_context
Get project orientation in a single call: returns project shape, top risk hotspots, key files, communities, and task-driven next-tool suggestions. Use at session start to reduce token usage.
Instructions
Single-call orientation context (~150 tokens). Returns project shape, top 3 risk hotspots, top 3 PageRank-central files, top 3 communities, and 3-5 task-routed next-tool suggestions. Use at session start instead of chaining get_project_map + get_pagerank + get_risk_hotspots + get_communities. The optional task argument biases the suggestions toward review / refactor / debug / add_feature / understand. Read-only. Returns JSON: { project, health, communities, next_steps }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | Natural-language description of what you are about to do — drives the next_steps ranking. If omitted, returns the "understand" suggestion set. | |
| intent | No | Explicit intent override. Wins over keyword inference from `task`. |