volanea_delete_resource
Permanently delete ONE resource by id. Deliberately mirrors volanea_list_resources so the two read as a pair, and deliberately previews unless you pass confirm: true — the same shape as volanea_cleanup_test_data, because an agent should have to say twice that it means to destroy something.
Use volanea_cleanup_test_data instead when tidying up after yourself: it only ever touches artifacts this server created, whereas this deletes anything you name, including resources a human built. Deleting a segment does NOT delete its contacts; deleting a template does NOT recall mail already sent with it; deleting a workflow strands any contact currently mid-run.
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": {
"resource": "<resource>",
"id": "<id>"
},
"name": "volanea_delete_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The resource id, e.g. `tmpl-…`, `seg-…`, `wf-…`, `camp-…`, `whep-…`. | |
| confirm | No | Must be true to actually delete. Omitted or false returns what WOULD be deleted and changes nothing. | |
| resource | Yes | Which kind of resource `id` refers to. Must match the id's prefix or the call is refused. | |
| project_id | No | Which project to act on — a projectId from volanea_list_projects. Optional when this connection reaches exactly one project; required when it reaches several (the call fails with the list of projects instead of guessing). A project API key only ever reaches its own project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Machine-readable failure code to branch on. Present only when success is false. | |
| data | No | Present when success is true. | |
| error | No | Human-readable failure reason. Present only when success is false. | |
| success | Yes | False when the call failed; read `error` and `code` in that case. |