Save a new workflow draft
add_workflowUse this only after the user reviews and approves a complete conversation-drafted workflow. Creates one draft; it does not publish or run the workflow.
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": {
"requestId": "<requestId>",
"name": "<name>",
"origin": "<origin>",
"map": "<map>"
},
"name": "add_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map | Yes | ||
| name | Yes | ||
| origin | Yes | ||
| period | No | ||
| purpose | No | ||
| runUnit | No | ||
| frequency | No | ||
| requestId | Yes | A fresh UUID for this approved save; reuse it only when retrying the same payload. | |
| department | No | ||
| minutesPerRun | No | ||
| openQuestions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| link | Yes | ||
| name | Yes | ||
| status | Yes | ||
| dataMode | Yes | ||
| replayed | Yes |