rename_layer
Set the human-readable name of a video / image / shape / text layer — the label shown in the Inspector, and the basis for the layer's auto-derived embed attribute (so renaming a layer to "caption" makes the embed attribute caption). Pass an empty string to clear the name. For groups use rename_group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New label. Empty string clears it (callers fall back to the filename stem). | |
| elementId | Yes | video.<id>, image.<id>, shapes.<id>, or text.<id>. | |
| projectId | Yes | Opaque project id (a v4 UUID, from list_projects/create_project). Selects which existing project this call mutates. |