update_step
Modify a specific workflow step by merging updates into existing fields while preserving all other steps and data unchanged.
Instructions
Update a single step in a workflow by step ID. Only the specified fields are merged — all other steps and fields remain unchanged. This is SAFER than update_workflow with steps because it cannot accidentally replace or delete other steps.
Use this instead of update_workflow when you only need to change one step (e.g., update a prompt, change inputs, modify entry conditions). Deep-merges nested objects like pipelineStepPrompt, stepInputData, and entryConditions.
For live workflows, changes are routed to a draft snapshot (same behavior as update_workflow).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflowId | Yes | The workflow ID | |
| stepId | Yes | The step ID to update (e.g., "analyze", "scrape-company") | |
| updates | Yes | Partial step updates to merge. Examples: { name: "New Name" }, { pipelineStepPrompt: { template: "..." } }, { stepInputData: { url: "{{input.url}}" } } |