compileEffect
Compiles shader effects and returns per-pass diagnostics for WebGL2 or WebGPU backends, with batch validation from comma-separated effect IDs.
Instructions
Compile a shader effect. Return diagnostics for each pass. Use comma-separated effect IDs for a batch.
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": "compileEffect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backend | No | Rendering backend | webgl2 |
| effects | No | Comma-separated effect IDs | |
| effect_id | No | One effect ID, such as "synth/noise" |