layer_setName
Renames a Moho layer using its numeric ID and a new name. Updates the layer's name in the current scene.
Instructions
Rename a layer in the MOHO scene
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": {
"layerId": "<layerId>",
"name": "<name>"
},
"name": "layer_setName"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The new name for the layer | |
| layerId | Yes | The numeric ID of the layer |