Figma's CSS
get_cssRetrieve Figma-generated CSS for specific layers to cross-check implementation against Dev Mode output; use it as a reference, not a layout description.
Instructions
Figma's own generated CSS (as in Dev Mode) for specific layers — a cross-check, not a layout description.
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": "get_css"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Which open Figma file (name or key) when several are connected. Default: the most recently active. | |
| target | No | Figma URL, node id(s) like "12:34" (comma-separated), or omit for the current selection in Figma. |