execute_plan
Implement a plan step by step to apply code changes, with an option to preview modifications before execution.
Instructions
Execute a previously generated plan. OpenCode will implement the plan step by step.
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": {
"plan": "<plan>"
},
"name": "execute_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | The plan to execute | |
| dryRun | No | Preview changes without applying (default: false) | |
| project | No | Project name |