Rename Node
node_renameRename a Figma node to an exact new name. Provide node ID, current name, and the new non-empty name.
Instructions
Rename a node (sets name to an exact value).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New non-empty name for the node. Figma normalizes an empty name to a type default, so `""` is refused rather than silently substituted. | |
| nodeId | Yes | The ID of the node to rename | |
| nodeName | Yes | The node's current exact name, passed back verbatim from `node_info`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The new name of the node | |
| error | No | ||
| oldName | No | The old name of the node |