create_shader
Generate a new .gdshader file with custom source code for a Godot project, using the project path and shader path relative to the project.
Instructions
Create a Godot shader file (.gdshader) with content
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": {
"projectPath": "<projectPath>",
"shaderPath": "<shaderPath>",
"content": "<content>"
},
"name": "create_shader"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | ||
| shaderPath | Yes | Shader path relative to project (e.g. shaders/glow.gdshader) | |
| content | Yes | Full shader source code |