get_task_context
Fetch all context needed to start a dev task—execution paths, tests, entry points—from a natural language description. Replaces manual chaining of search, symbol lookup, and file reads.
Instructions
All-in-one context for starting a dev task: execution paths, tests, entry points, adapted by task type. Use as your FIRST call when beginning any new task — replaces manual chaining of search → get_symbol → Read. For narrower feature-code lookup use get_feature_context instead. Read-only. Returns JSON (default) or Markdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Natural language description of the task | |
| focus | No | Context strategy: minimal (fast, essential only), broad (default, wide net), deep (follow full execution chains) | |
| detail_level | No | Output verbosity. "minimal" returns ~40-60% fewer tokens (drops scores, fqn, signatures, summaries — keeps name/file/line). Use when you only need to pick a candidate before drilling in with get_symbol. Default: "default". | |
| token_budget | No | Max tokens (default 8000) | |
| include_tests | No | Include relevant test files (default true) | |
| output_format | No | "json" (default, structured fields) or "markdown" (single LLM-optimized document with code fences, ~15-20% cheaper). |