Alpha: Document API is currently alpha and subject to breaking changes.
Summary
Redo the most recently undone action in the active editor.- Operation ID:
history.redo - API member path:
editor.doc.history.redo(...) - Mutates document:
yes - Idempotency:
non-idempotent - Supports tracked mode:
no - Supports dry run:
no - Deterministic target resolution:
yes
Expected result
Returns a HistoryActionResult with noop flag and revision before/after; noop is true when the redo stack is empty.Input fields
No fields.Example request
Output fields
| Field | Type | Required | Description |
|---|---|---|---|
noop | boolean | yes | |
revision | object | yes |
Example response
Pre-apply throws
CAPABILITY_UNAVAILABLE
Non-applied failure codes
- None
Raw schemas
Raw input schema
Raw input schema
Raw output schema
Raw output schema
Raw success schema
Raw success schema
Raw failure schema
Raw failure schema

