mcpDeterministic

Update workflow

tools/call

Update an existing workflow. Pass any subset of name, description, workflow_definition, or status. workflow_definition is the full DAG object (nodes + edges + variables) - typically produced by compile-workflow-from-prompt. Returns the updated workflow record.

Parameters

workspaceId
string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
workflowIdrequired
string
Workflow UUID to update.
name
string
No description.
description
string
No description.
workflow_definition
object
Full WorkflowDefinition DAG. Typically supplied verbatim from the compile-workflow-from-prompt response.
status
string
Optional status transition.
draft | active | paused | archived

Example

MCP tools/calljson
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update-workflow",
"arguments": {
"workflowId": "00000000-0000-4000-8000-000000000000"
}
}
}

Response

The operation is available, but its typed response schema has not been published yet.

JSON-RPC errors

-32602
Invalid parameters. Field-level details are returned in the JSON-RPC error data.
-32001
Authentication or hosted AI consent is required.
-32003
Workspace access is denied.
-32029
The request was rate limited.
Pipeline MCP documentation | Pipeline