godot_generate_from_template
Generate Godot 4 code from predefined templates for Node2D, Control, Resource, and StateMachine to create project files without writing boilerplate.
Instructions
Generate code from proven templates (Node2D, Control, Resource, StateMachine, etc.).
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": {
"template": "<template>"
},
"name": "godot_generate_from_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | No | Output path (optional) | |
| options | No | Template options | |
| template | Yes | Template type | |
| class_name | No | Class name |