set_multiple_text_contents
Update multiple text node contents simultaneously in a Figma design node by specifying replacement texts and their respective IDs. Ideal for bulk editing within the Talk to Figma MCP server environment.
Instructions
Set multiple text contents parallelly in a node
Input Schema
Name | Required | Description | Default |
---|---|---|---|
nodeId | Yes | The ID of the node containing the text nodes to replace | |
text | Yes | Array of text node IDs and their replacement texts |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"nodeId": {
"description": "The ID of the node containing the text nodes to replace",
"type": "string"
},
"text": {
"description": "Array of text node IDs and their replacement texts",
"items": {
"additionalProperties": false,
"properties": {
"nodeId": {
"description": "The ID of the text node",
"type": "string"
},
"text": {
"description": "The replacement text",
"type": "string"
}
},
"required": [
"nodeId",
"text"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"nodeId",
"text"
],
"type": "object"
}