figma_history
Retrieve local change history of Figma sessions, filtered by node ID, and optionally merge git history of generated code files for a combined design-code changelog.
Instructions
Local change history of this machine's Figma sessions, from the audit log every figma_run/figma_render is recorded in. Filter by nodeId to see everything that touched a node. Optionally merges git history of generated code files for a combined design+code changelog. Note: node-id matching is text-based, so numbers like "12:30" in free text can match too.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | No | Structural diff instead of the log: what nodes were added, removed, recreated, moved or changed between two states. Refs are "live" (the document right now), "latest"/"previous", an index, or a Figma version id (needs the REST layer). Record comparison points with figma_run ["history","snapshot"]. | |
| limit | No | Max entries (default 20, max 200). | |
| format | No | Output format (default markdown table). | |
| nodeId | No | Only entries touching this node id ("1:2" or URL form "1-2"). | |
| fileKey | No | File for includeVersions: bare key or full Figma URL. Default: the file open in Figma Desktop. | |
| gitPaths | No | Repo-relative file paths whose git log to merge in (generated code files). | |
| repoPath | No | Repo root for gitPaths (default: server working directory). | |
| includeVersions | No | Also merge the file's Figma version history (what designers saved, by whom) via the optional REST layer. Needs a configured REST token; without one a note is appended instead. |