Delete app
delete_appRemove an app from the registry. Keep its data for later restore, or cascade to permanently delete app-only data after reviewing a confirmation plan. Shared data is never deleted.
Instructions
Delete an app from the registry. Default data:"keep" is a tombstone: its data, files and history are KEPT and restore_app can bring the app back. data:"cascade" ALSO permanently deletes the data provably only this app used (plus its settings) — it always returns a disposition plan first: read the plan to the user (what will be deleted AND what will be kept and why), then re-send the same call with request_state. Cascade is NOT undoable. Shared or unprovable collections are always kept.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | "keep" (default): tombstone, data survives. "cascade": delete the app AND the data only it used — two-step confirmed, permanent | |
| name | Yes | ||
| actor | No | ||
| command_id | Yes | idempotency key — generate a fresh uuid per action | |
| request_state | No | the state from a prior confirmation_required answer — re-send the identical call with it attached |