set_object_visibility
Set a Blender object's visibility in the viewport, render, or both by specifying its name and visible state.
Instructions
Set object visibility in viewport and/or render.
Args: object_name: Name of the object. visible: Whether the object 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": {
"object_name": "<object_name>",
"visible": "<visible>"
},
"name": "set_object_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| render | No | ||
| visible | Yes | ||
| viewport | No | ||
| object_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||