set_viewport_overlay
Toggle specific Blender viewport overlays, including wireframes, axes, cursor, origins, and stats, by setting an overlay name and its enabled state.
Instructions
Toggle a viewport overlay setting.
Args: overlay: Overlay property name. One of: show_wireframes, show_face_orientation, show_floor, show_axis_x, show_axis_y, show_axis_z, show_cursor, show_object_origins, show_relationship_lines, show_stats. enabled: Whether the overlay should be enabled.
Returns: Confirmation dict with the overlay name and 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": {
"overlay": "<overlay>",
"enabled": "<enabled>"
},
"name": "set_viewport_overlay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | ||
| overlay | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||