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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | ||
| todos | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |