rename_layer
Rename an Aseprite layer by providing the filename, layer identifier, and new name to let AI agents update sprite layer labels during editing.
Instructions
Rename a 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": {
"filename": "<filename>",
"layer": "<layer>",
"new_name": "<new_name>"
},
"name": "rename_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | ||
| filename | Yes | ||
| new_name | Yes |