figma_audit
Audit Figma designs for structural issues in naming, layout, components, tokens, and accessibility, returning violation counts and details to guide fixes.
Instructions
Structural audit: naming, layout, components, tokens, accessibility checks.
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": "figma_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checks | No | Which audit checks to run | |
| nodeId | No | Root node ID to audit. Auto-extracted from figmaUrl if provided. | |
| figmaUrl | No | Figma design URL (e.g., 'https://www.figma.com/design/ABC123/File-Name?node-id=1817:2817'). Extracts file key and node ID automatically. Once set, persists for the session. | |
| maxViolations | No | Max violations to return (default 100). Summary always reflects full counts. |