create_script
Creates .gd or .cs script files in Godot, generating GDScript templates when content is empty.
Instructions
Create a .gd or .cs script file, generating a GDScript template 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_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| force | No | ||
| content | No | ||
| extends | No | Node | |
| class_name | No |