set_variable_description
Updates or replaces the description of an existing Figma variable to clarify its purpose or role, such as a color's function in a design system.
Instructions
Set the description of an existing variable (for example the role of a color). Replaces the existing description.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"variableId": "<variableId>",
"description": "<description>"
},
"name": "set_variable_description"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variableId | Yes | ID of the variable | |
| description | Yes | New description text |