Contents

Edit Workflow Node

edit_workflow_node · Tools · Workflows

Edit one node in a workflow graph. Nodes are automatically positioned visually in the graph by Verdalia.

Parameters

NameTypeRequiredDescription
configobjectNoNode configuration patch as normal nested JSON. Do not stringify this value. Must be a non-empty JSON object when present. Nodes are automatically positioned visually in the graph by Verdalia. Partial updates are deep-merged. May include base_config: { failure_mode: 'stop' | 'stop_workflow' | 'route_to_error' }. failure_mode 'stop' (default) is the normal choice almost always, including required AI calls, uploads, and other effects: the node fails, nodes depending on it do not run, independent branches continue, the failure shows in the workflow results, and the workflow is marked failed when a failed branch cannot reach its end. 'stop_workflow' is a rare emergency setting: the failure immediately terminates the entire workflow, including independent branches; reserve it for exceptional major failures where continued execution must stop at once, not for ordinary required or critical-path failures. 'route_to_error' adds one trailing output named 'error' and hands the failure to the graph: on success the node's outputs carry its values and 'error' carries a skip; on failure its normal outputs carry a skip, so nodes fed only by them are skipped, and 'error' carries { node_id, node_type, message, causes }. The node is recorded as failed_routed and the run completes with warnings instead of failing. For a fallback value, wire 'error' into a js_script step that returns the constant, and wire that step's output into the same input socket the node's own output feeds. To fail the run after handling the error, for example after logging it, wire 'error' into a raise_error node. 'ignore' was removed: use 'route_to_error' with that fallback step. For code, prompts, markdown, and JSON-like text fields, prefer readable multiline content. For js_script.script, write formatted JavaScript, not minified one-line code.
disabledbooleanNoWhen true, the node still builds and validates but no-ops at runtime by emitting null outputs.
idstringYesGraph-local node ID to edit
labelstringNoNew label
workflow_idstringYes