set_visible
Toggle the visibility of any object in a JupyterCAD 3D model by specifying its name and a true/false value to show or hide it.
Instructions
Set the visibility of an object.
:param name: The name of the object. :param value: The visibility value (True or False).
Warning: This tool will update the JCAD document at the given jcad_path.
To understand the current state of the document, you MUST first use the 'get_current_cad_design' tool.
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": {
"jcad_path": "<jcad_path>",
"name": "<name>",
"value": "<value>"
},
"name": "set_visible"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| value | Yes | ||
| jcad_path | Yes |