rename_layer
Renames a specific layer in a pixel art document to a new specified name, helping organize and identify layers clearly.
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": {
"doc_id": "<doc_id>",
"layer": "<layer>",
"name": "<name>"
},
"name": "rename_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| layer | Yes | ||
| doc_id | Yes | Document id |