set_viewport_shading
Switch Blender's viewport shading between wireframe, solid, material, and rendered modes to preview geometry or materials while modeling.
Instructions
Set the viewport shading mode.
Args: mode: Shading mode. One of: WIREFRAME, SOLID, MATERIAL, RENDERED.
Returns: Confirmation dict with the new shading mode.
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": {
"mode": "<mode>"
},
"name": "set_viewport_shading"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||