Edit a saved workflow
writ_update_workflowInspect or customize an existing saved workflow in place: edit settings, patch recorded steps, or rebuild its agent skill (SKILL.md) without recreating it.
Instructions
Inspect or completely customize an existing saved workflow in place. An edit answers with a compact outline of the steps (verbose=true for the full definition). An api_call step is {type:'api_call', config:{function_name, method, url, headers, body_template, response_extractions}} — function_name binds the step to the function of that name, which is what writ_run_workflow function_name selects. With no edit arguments, returns the full workflow and its zero-based step indexes. patch changes workflow settings including persona, residential egress/country, human behavior, headless/fast mode, device routing, timeouts, retries, schedules, auth/browser config, functions, streaming, sessions and raw replay. step_updates recursively edits one or more recorded steps (selectors, scripts, URLs, waits, flags, extraction config, and generic api_call.config.flow programs); replace_steps deliberately replaces the complete step list. AGENT SKILL: skill_md (in the read) is the SKILL.md that teaches an agent to call this workflow over MCP; regenerate_skill=true rebuilds it from the current functions, then patch.skill_md writes your edited version (YAML frontmatter name + description, then Markdown); patch.skill_md=null removes it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | No | Sparse settings patch. Supports every WorkflowUpdate field except credentials and captured recorded_session material; use vault/persona/session management for those. | |
| verbose | No | Answer an edit with the full workflow definition instead of the compact step outline (default false). | |
| workflow | No | Workflow name (or use workflow_id). | |
| workflow_id | No | ||
| step_updates | No | ||
| replace_steps | No | Complete recorded-step replacement. Prefer step_updates for a targeted edit. | |
| regenerate_skill | No | Rebuild the workflow's agent skill (SKILL.md) from its current functions, inputs and sign-in, replacing any edited version; the answer carries the new skill_md. Runs after any patch in the same call. |