shader.preview
Since next
Material contact sheet PNG: 4 angles x 3 times x day/backlit/night.
strip: 8 frames 1/30 s apart. renderers adds hd (skipped if unavailable).
| Title | Preview a shader |
| Mode | editor |
| Token cost | about 150 tokens (listed only when its toolset is enabled) |
| Toolset | shaders |
Arguments
| Argument | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
material | string | object | yes | Asset id or .material.json object | ||
out | string | no | |||
renderers | enum[] | no | |||
shape | enum | no | sphere, cube, plane | ||
strip | boolean | no |
Example
An MCP tools/call with the required arguments (placeholders in angle brackets).
{
"name": "shader.preview",
"arguments": {
"material": null
}
}