viewport_set_shading
Switch viewport shading among Wireframe, Solid, Material, and Rendered modes, with adjustable studio light and color type for Solid mode.
Instructions
Set viewport shading mode.
Args: mode: WIREFRAME, SOLID, MATERIAL, RENDERED studio_light: Studio light name for SOLID mode (e.g., 'studio.exr', 'rim.sl') color_type: MATERIAL, SINGLE, OBJECT, RANDOM, VERTEX, TEXTURE (for SOLID mode)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "viewport_set_shading"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | SOLID | |
| color_type | No | ||
| studio_light | No |