set_text_decoration
Modify text decoration in Figma by setting underline, strikethrough, or none for specific text nodes through the CC Fig MCP server.
Instructions
Set the text decoration of a text node in Figma
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": {
"nodeId": "<nodeId>",
"textDecoration": "<textDecoration>"
},
"name": "set_text_decoration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the text node to modify | |
| textDecoration | Yes | Text decoration type |