modo_get_shader_tree
Retrieve the scene's shader tree with materials, masks, and texture layers in layer order; resolve texture locators and image stills, and inspect one material by passing its mask ID as root.
Instructions
The scene's shader tree: materials, masks, texture layers and their settings, in layer order (which is semantically significant in Modo). Also resolves texture locators and image stills that hang off layers via the shadeLoc item graph and would be invisible to a plain hierarchy walk. Use detail='structure' for a big tree, or pass a mask id as root to inspect one material.
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": "modo_get_shader_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | ||
| limit | No | ||
| detail | No | filtered | |
| instance | No | This chat's Modo instance token (modo-xxxxxx) from modo_use_instance or modo_launch_instance. Pass it on every call once you have one; leave empty only while a single chat works with Modo. | |
| response_format | No | markdown | |
| resolve_locators | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |