Plan edits
workbench__add_step
Adds one top-level step to the plan draft.
- Appends the step, or places it
beforeorafteran existing step id. - Refused only if it adds a new validation problem; existing problems are reported.
- Steps inside
route,mapandreducebodies are edited through their control step withworkbench__update_step.
| Available to | Effect |
|---|---|
| Workbench agents only | Not marked read-only |
Input
afterstring
Insert after this existing step id. Omit both anchors to append.
beforestring
Insert before this existing step id.
Unique step id templates reference: E-style (E4) or descriptive (fetch_issues).
Tool input; string values may reference earlier steps with {{id.path}} templates.
step.reasoningstring
Why this step exists and what it should produce.
Exact tool name from the catalog.
Output
idstring
indexinteger
okboolean
stepsinteger
{
"id": "E4",
"index": 2,
"ok": true,
"steps": 5
}