update_workflow
Modify an existing workflow by submitting only changed fields plus the current version; version checks prevent overwrites and return 412 on conflict.
Instructions
Update a workflow (admin). Pass only the fields to change; version is required for optimistic locking (412 on conflict).
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": {
"workflowId": "<workflowId>",
"version": "<version>"
},
"name": "update_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| type | No | ||
| steps | No | ||
| version | Yes | Current workflow version | |
| workflowId | Yes | ||
| initialAction | No | ||
| issueTypeResolutions | No |