set_collection_visibility
Set a Blender collection's visibility for viewport and/or render by providing the collection name and desired visible state.
Instructions
Set collection visibility in viewport and/or render.
Args: collection_name: Name of the collection. visible: Whether the collection should be visible. viewport: Apply visibility change to viewport. Defaults to True. render: Apply visibility change to render. Defaults to True.
Returns: Confirmation dict with visibility state.
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": {
"collection_name": "<collection_name>",
"visible": "<visible>"
},
"name": "set_collection_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| render | No | ||
| visible | Yes | ||
| viewport | No | ||
| collection_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||