undo_list
List recorded, not-yet-applied undo tokens ordered by recency, with original tool, inverse, and verification status for safe application.
Instructions
[READ] List recorded, not-yet-applied undo tokens (most recent first).
Each entry names the original tool, the inverse tool that undo_apply
would run, and a human note. Use the undoId with undo_apply.
Returns an envelope rather than a bare list::
{"undos": [...], "returned": 50, "limit": 50, "truncated": true}so a truncated read announces itself. A bare list cannot say "there is
more" — the consumer has to infer it from the length happening to equal the
limit, and a smaller local model faced with a capped result tends to report
that it has seen every token. One extra row is requested so truncated
is measured rather than guessed from a length coincidence.
Each entry carries effectVerified. False means the original write
lost its response, so the change it reverses is PROBABLE, not confirmed —
check the live state before applying, and do not report the result as a
restore of a state that may never have been reached.
Args: limit: Max rows to return (default 50, capped at 500). target: Unused (undo state is host-local); accepted for CLI uniformity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| target | No |