figma_component_text
Override text on a Figma component instance in a single call. Pass an array of overrides with text node identifier and new content to update multiple text fields at once.
Instructions
Overrides text on a component instance in one call — pass an overrides array (a single override is just a one-item array). Each override sets one text node via textNodeName (matches by name — use for most cases) or textNodeId (exact match — use when configurationHints.textNodes gave you IDs, e.g. components with repeated node names). Use after figma_insert_component; configurationHints.textNodes lists every node that needs overriding. Saves N-1 tool calls vs. one call per node. Requires Phase 2.
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>",
"overrides": "<overrides>"
},
"name": "figma_component_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Component instance node ID. | |
| overrides | Yes | Array of text overrides to apply. Each item needs textNodeName or textNodeId, plus content. |