undo_list
Lists recorded, not-yet-applied undo tokens so you can review pending reversals, check unconfirmed effects, and pass their undoId to undo_apply.
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.
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 (1..500, default 50). target: Unused (undo state is host-local); accepted for CLI uniformity.
Returns dict: {undos[], returned, limit, truncated}. One extra row is fetched, so 'truncated' is measured rather than guessed from the returned count happening to equal the limit; re-run with a higher limit when true.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "undo_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| target | No |