Change a workflow step
edit_stepChange one step: its name, settings (only the fields passed change; for an app step, integration_arguments are merged and null removes one), its messages (prompt steps; they replace the old ones) or its app action. Read it with get_step first. Start inputs are changed with update_workflow. The change is saved as a version: the answer's undo.version_id restores the steps from before it.
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": {
"workflow_id": "<workflow_id>",
"step_id": "<step_id>"
},
"name": "edit_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| step_id | Yes | The step id, e.g. "step_2". | |
| messages | No | ||
| settings | No | Field names and new values (get_step_type). | |
| app_action | No | A different action of the same app (search_actions). | |
| workflow_id | Yes |