set_multiple_text_contents
Replace multiple text nodes in a Figma design simultaneously by supplying the parent node ID and a list of text node IDs with updated content.
Instructions
Set multiple text contents parallelly in a node
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>",
"text": "<text>"
},
"name": "set_multiple_text_contents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Array of text node IDs and their replacement texts | |
| nodeId | Yes | The ID of the node containing the text nodes to replace |