figma_history
Save named snapshots to protect work before risky edits, and undo recent mutations within 60 seconds to revert changes.
Instructions
snapshot: save a named version to the file's version history — a restore point before risky edits. undo: revert the edits of the last mutating tool call (figma_eval / figma_place_image / library import) if it ran within the last 60 s; after that they are committed to the file's undo history as one step per call, where the person can Ctrl+Z them.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "figma_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | snapshot: version title (default "localfig <timestamp>"). | |
| action | Yes | ||
| description | No | snapshot: version description. |