forge_execute_gdscript
Execute GDScript code in Forge Engine to automate development tasks, modify node properties, and control scene trees directly from the editor context.
Instructions
Execute arbitrary GDScript code in the editor context. Useful for quick automation tasks.
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": {
"code": "<code>"
},
"name": "forge_execute_gdscript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | GDScript code to execute |