Archive a workflow
archive_workflowMove a workflow to Archived, like the dashboard's Archive. Nothing is deleted and restore_workflow brings it back. Pause its schedules first (pause_schedule). Call without approved to see what happens, and with approved: true only after the person confirms.
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": {
"workflow_id": "<workflow_id>"
},
"name": "archive_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| approved | No | true only after the person has confirmed. | |
| workflow_id | Yes |