rename_layer
Changes the name of an existing layer in Aseprite by specifying its current name and the desired new name.
Instructions
Renames an existing layer.
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": {
"oldName": "<oldName>",
"newName": "<newName>"
},
"name": "rename_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newName | Yes | New layer name | |
| oldName | Yes | Current layer name |