set_text
Replace text content on Figma nodes by specifying node ID and new text. Supports single or batch updates.
Instructions
Set text content on one or more nodes.
set_text({node: "1:2", text: "Hello World"}) set_text({nodes: [{node: "1:2", text: "Title"}, {node: "1:3", text: "Subtitle"}]})
Use this when changing what text says. For text styling (font, size, weight), use edit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | Node ID | |
| text | No | New text content | |
| nodes | No | Batch: [{node, text}] |