generate_script_template
Generate GDScript templates for common patterns such as singleton, player, and UI controller. Specify class name and optional base class.
Instructions
Generate a GDScript template for common patterns
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": {
"templateType": "<templateType>",
"className": "<className>"
},
"name": "generate_script_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| templateType | Yes | Type of script template to generate | |
| className | Yes | Name of the class | |
| extendsClass | No | Base class to extend from | Node |