layer_setVisibility
Show or hide a layer in a MOHO scene by providing its numeric ID and a visible flag. Controls whether the layer is displayed.
Instructions
Show or hide 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>",
"visible": "<visible>"
},
"name": "layer_setVisibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerId | Yes | The numeric ID of the layer | |
| visible | Yes | Whether the layer should be visible |