update_workflow
Modify existing workflow scripts by updating their description or Python code to adapt automation processes to changing requirements.
Instructions
Update an existing workflow script.
Args:
name: The name of the workflow to update
description: New description (optional, keeps existing if not provided)
code: New Python code (optional, keeps existing if not provided)
Returns:
dict: Status of the operation
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": {
"name": "<name>"
},
"name": "update_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| description | No | ||
| code | No |