inspect
Retrieve complete details of a design revision, including parent, note, and the JS code that generated it, to understand exactly how the design evolved.
Instructions
Read one revision in full: parent, note, createdAt, title (root only), and the JS code that produced it (when written via edit).
Use this after history when you've picked a revision and want to know HOW it got there — the code is the precise operation; note is the agent's summary.
Returns JSON { revision, parent, note?, origin?, createdAt, title?, code? } — origin: "editor" marks a revision the user saved from the browser editor. code is omitted for revisions not produced by edit (e.g. future import paths).
⚠ Past code reveals the PATTERN of an edit (which APIs were called, what kind of block was targeted), NOT the block ids. Block ids are session-scoped — re-discover them in the current engine; don't replay the literal numeric ids.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| revision | Yes | Revision id to inspect. |