Tuanjie Shader Manager
unity_shaderDetect the active render pipeline, ensure materials use compatible shaders for SRP, compile shaders, and preview them.
Instructions
Inspects render pipelines and manages shader compilation or previews. Supported actions: detect_render_pipeline, ensure_material_shader_for_srp, compile, preview. Additional action-specific parameters are passed through unchanged.
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": {
"action": "<action>"
},
"name": "unity_shader"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes |