restore_entity
Restore a deleted Albato app entity from a previous version to recover its prior state. Triggers and actions are restored by clearing their deprecated mark while keeping current content.
Instructions
Restore a deleted entity. Works only if it exists in a previous version: the entity is copied from there as it was there, and this version's edits don't come back. Something created in this version and deleted can't be restored. Children and wizard steps deleted by cascade don't come back with the parent. Triggers and actions differ: on deletion they are only marked deprecated, and restore_entity removes the mark; the content stays as it was in this version.
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>"
},
"name": "restore_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 | |
| 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 |