update_plan_step
Modify a plan step: change titles, mark done/undone, attach or detach issues, add child steps, move, reparent, or delete steps. Also update plan status or anchor issue and receive a delta.
Instructions
Mutate a plan or one step. With step_id: step CRUD, done toggling, attach/detach issue (linked issues sync state). Without step_id: update the plan itself; plan status never closes the anchor issue. Returns a delta.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| done | No | Mark the step done/undone (a linked issue syncs) | |
| plan | Yes | Plan ID like LIF-PLAN-3 | |
| title | No | New title for the target | |
| delete | No | Delete the step and its subtree | |
| status | No | Plan status: active done or archived | |
| step_id | No | Step ID to operate on (#N from get_plan). OMIT operates on the plan itself. | |
| echo_tree | No | Return the full re-rendered tree instead of the delta (default false) | |
| anchor_issue | No | Set the plan's anchor issue | |
| attach_issue | No | Attach an issue (e.g. LIF-42) to the step | |
| clear_anchor | No | Clear the plan's anchor issue | |
| detach_issue | No | Detach the step's issue reference | |
| move_to_root | No | Reparent the step to the plan root | |
| move_position | No | New position among siblings (0-based) | |
| add_child_issue | No | Issue ID for the added child step | |
| add_child_title | No | Add a child step with this title under the target step | |
| move_parent_step_id | No | Reparent the step under this step id | |
| add_child_description | No | Description for the added child step |