configure_plan_mode
Configures worker plan mode so agents analyze the codebase and create an auto-approved implementation plan before coding. Set thresholds, step limits, and required plan sections.
Instructions
Configure worker plan mode. When enabled, workers analyze the codebase and produce a plan before implementing. Plans are auto-approved by the orchestrator.
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": {
"projectDir": "<projectDir>"
},
"name": "configure_plan_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | Enable/disable plan mode globally (default: true) | |
| maxSteps | No | Maximum steps allowed in a plan (default: 20) | |
| projectDir | Yes | Absolute path to the project directory | |
| requireFileList | No | Require file list in plans (default: true) | |
| maxReplanAttempts | No | Maximum re-plan attempts before fallback (default: 2) | |
| complexityThreshold | No | Minimum complexity score to trigger plan mode (default: 30) | |
| requireTestStrategy | No | Require test strategy in plans (default: true) | |
| requireRiskAssessment | No | Require risk assessment in plans (default: true) |