Remove Playbook
remove_playbookArchive or delete a playbook through a confirmation prompt; run history is preserved, and existing tasks remain unaffected.
Instructions
Remove a playbook by archiving (hides from active views, recoverable) or permanently deleting. On first call, returns a conflict with ARCHIVE / DELETE / CANCEL options. Pass mode after the user decides. Run history is preserved in both cases. Tasks already created by previous runs are not affected.
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": {
"playbook_id": "<playbook_id>"
},
"name": "remove_playbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Deprecated: use `resolution`. 'archive' / 'delete' / 'cancel'. | |
| resolution | No | Resolution after the removal conflict: 'confirm' deletes (recoverable for 30 days), 'archive' hides it (recoverable), 'cancel' aborts. | |
| playbook_id | Yes | Playbook UUID or slug. |