Graphite: rename a layer
graphite_rename_layerRename a Graphite layer via MCP by setting the label shown in the Layers panel.
Instructions
Set the name shown for a layer in the Layers panel.
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": {
"layer_id": "<layer_id>",
"name": "<name>"
},
"name": "graphite_rename_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| layer_id | Yes | layer_id as returned by graphite_insert_svg or listed by graphite_get_document. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| layer_id | Yes |