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.
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'. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"format": {
"description": "Optional. The format to return CSS in: \"object\", \"string\", or \"inline\".",
"enum": [
"object",
"string",
"inline"
],
"type": "string"
},
"nodeId": {
"description": "Optional. The unique Figma node ID to get CSS from. If provided, must be a string in the format '123:456'.",
"type": "string"
}
},
"type": "object"
}