wincode_prepare_context
Generates a focused code context snapshot for AI agents, extracting relevant symbols and architecture while packing essential files to support task decisions.
Instructions
Prepares concise, high-semantic, decision-ready context snapshot for an agent task using Repomix and semantic distillation. Extracts relevant symbols, architectures, and packs essential files.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task": "<task>"
},
"name": "wincode_prepare_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Description of the coding task or query the agent is working on (e.g. "分析这个项目架构"). | |
| compress | No | Whether to extract essential code structures (classes, methods, interfaces) using Tree-sitter compression. | |
| focusAreas | No | Optional subdirectories or glob patterns to focus on (e.g. ["src/Core"]). | |
| outputFormat | No | Output format of packed snapshot (default: markdown). | |
| candidateFiles | No | Optional list of candidate file paths to prioritize. |