apply_effect_style
Apply a predefined effect style to a specific Figma node using its unique ID and style identifier. Updates the node in real-time via Conduit’s WebSocket integration, ensuring efficient design adjustments.
Instructions
Applies an effect style to a node in Figma.
Returns:
content: Array of objects. Each object contains a type: "text" and a text field with the updated node's ID.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
effectStyleId | Yes | The ID of the effect style to apply. Must be a non-empty string. Maximum length 100 characters. | |
nodeId | Yes | The unique Figma node ID to update. Must be a string in the format '123:456' or a complex instance ID like 'I422:10713;1082:2236'. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"effectStyleId": {
"description": "The ID of the effect style to apply. Must be a non-empty string. Maximum length 100 characters.",
"maxLength": 100,
"minLength": 1,
"type": "string"
},
"nodeId": {
"description": "The unique Figma node ID to update. Must be a string in the format '123:456' or a complex instance ID like 'I422:10713;1082:2236'.",
"type": "string"
}
},
"required": [
"nodeId",
"effectStyleId"
],
"type": "object"
}