create_shader
Generate a shader file with a template for the specified shader type when content is empty, supporting spatial, canvas_item, particles, and sky variants.
Instructions
Create a shader file, generating a template for the given shader_type when content is empty
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": "create_shader"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| force | No | ||
| content | No | ||
| shader_type | No | spatial |