extract_relevant_context
Identifies and packages only code files relevant to a given coding task, omitting unrelated files to reduce token usage.
Instructions
Extracts and packages only the code files most relevant to a specific user coding task, pruning irrelevant files to save tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Task description or coding prompt (e.g., "Fix JWT authentication token expiration error") | |
| rootDir | No | Path to repository root directory | |
| maxTokens | No | Token budget ceiling (default: 40000) |