rename_nodes
Rename one or more layers in a Paper design by updating their display names in the layer tree. Supports batch renames in one call and truncates names longer than 50 characters.
Instructions
Rename one or more layers in the design. Sets the display name shown in the layer tree. Names longer than 50 characters are automatically truncated. Supports batch renames in a single call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | No | Optional. The Paper file ID this call should act on. Pass it to reliably target a specific file when several are open at once (e.g. multiple agents from the same session working in parallel). Omit to use the most recently opened file in the session. | |
| updates | Yes | Array of rename updates. Each item specifies a node ID and its new name. |