manage_history
Inspect edit history and see who changed what, then undo a record's last edit or a delete when nothing else refers to it. Filter by project, record, app, model, machine, or time.
Instructions
The edit trail of records. list: edits with old and new values. undo: take back a record's last edit, a record you created (if nothing refers to it), or a delete with everything removed with it (a deleted project: its old name and id); rows changed since are skipped and listed. who: who did what (app, model, machine), filtered and paged. Logged changes (kind=change): find them with search. Reads: list, who. list and undo require project. Returns {history}, the undo result, or {rows, page}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | who: page number. Default 1. | |
| limit | No | list / who: max rows. Default 20, max 100. | |
| model | No | Model name if known. Never guess. | |
| since | No | who: from this local time, such as 2026-10-17. | |
| until | No | who: up to this local time. | |
| action | Yes | The operation; see the tool description. | |
| by_app | No | who: only apps whose name contains this. | |
| project | No | Project name or id. Required for list and undo; who: omit for all. | |
| by_model | No | who: only models whose name contains this. | |
| record_id | No | list: only this record. undo: required. | |
| by_machine | No | who: only this machine or workspace. | |
| record_type | No | list: only this record type. undo: required. |