get_css_async
Extract CSS properties from a specified Figma node asynchronously. Returns properties in JSON format, supporting object, string, or inline outputs for integration with AI agents or design workflows.
Instructions
Get CSS properties from a node.
Returns:
content: Array of objects. Each object contains a type: "text" and a text field with the CSS properties as JSON.
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_async"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Optional. The format to return CSS in: "object", "string", or "inline". | |
| nodeId | No | Optional. The unique Figma node ID to get CSS from. If provided, must be a string in the format '123:456'. |