exit_plan_mode
Submit a completed plan for user approval. Approval exits plan mode and enables execution; denial invites plan revision.
Instructions
Submit your completed plan and wait for user approval.
Call this ONLY after you have a concrete, actionable plan. This blocks the agent run until the user decides:
approve -> plan mode ends, write/edit/exec tools may be used
deny -> stay in plan mode, revise and resubmit On clients without in-tool approval prompts, the tool returns immediately with status 'submitted' and approval is deferred to the client's own permission flow.
Args: plan: The full step-by-step plan, in markdown. todos: Optional updated todo list to persist alongside the plan.
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": "exit_plan_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | ||
| todos | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |