compile_shader
Compiles .gdshader files to reimport them into Godot, checking for errors and updating shader resources.
Instructions
Compile (reimport) a .gdshader via Godot editor or local validation.
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": {
"path": "<path>"
},
"name": "compile_shader"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to .gdshader file to compile (relative to project root) |