delete_entity
Deletes one Albato Builder entity at a time after user confirmation, showing cascade effects and refusing webhook subscriptions or lists still referenced elsewhere.
Instructions
Delete an entity (one at a time: each deletion gets its own answer from the user). Deletion in the builder is hard for everything created in this version, and the backend deletes by cascade: for a list, its children and wizard steps; for a step, all following ones. Without confirmed the tool deletes nothing and shows what will be deleted along with the entity: show this to the user and call with confirmed: true only after they agree. A webhook subscription that has at least one trigger or action attached, and a list referenced by a connection field, the tool won't delete even with confirmation.
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>",
"confirmed": "<confirmed>"
},
"name": "delete_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Entity ID | |
| appId | No | App ID. Not needed only for resource: "apps" | |
| resource | Yes | Builder resource the operation is performed on | |
| confirmed | Yes | The user confirmed the deletion in chat | |
| parentIds | No | ||
| versionId | No | Version ID. Not needed for resource: "apps" and "versions". Only a private version is writable; ensure_editable_version tells you which one |