Delete item
data_delete_itemDeletes an item from open-mcp-apps data while preserving the ledger's last contents; on confirmation_required, show the note and resend with request_state.
Instructions
Delete an item. The ledger keeps its last contents. May return reason:"confirmation_required" with a request_state — show the user what is named in note, then re-send the same call with request_state attached.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| actor | No | ||
| collection | No | the item's collection, if known — the write is refused unless the row is in it | |
| command_id | Yes | idempotency key — generate a fresh uuid per action | |
| request_state | No | ||
| expected_version | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ok | Yes | ||
| eot | No | ||
| seq | No | ||
| item | No | ||
| note | No | ||
| reason | No | ||
| deleted | No | ||
| preview | No | ||
| collection | No | ||
| expires_at | No | ||
| violations | No | ||
| request_state | No | ||
| expected_version | No | ||
| prev_collection_seq | No |