Create workflow step
create_stepAdd an immutable executable step to an existing workflow. Supply workflow ID, position, name, executor kind, and spec to define a step's action within the workflow.
Instructions
Create an immutable executable Step inside one Workflow.
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>",
"position": "<position>",
"name": "<name>",
"executor_kind": "<executor_kind>",
"spec": "<spec>"
},
"name": "create_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| spec | Yes | ||
| position | Yes | ||
| workflow_id | Yes | ||
| write_scope | No | read_only | |
| executor_kind | Yes | ||
| worktree_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |