game_eval
Evaluates GDScript expressions or statement blocks against the live SceneTree, returning results and diagnostics for runtime script checks.
Instructions
Evaluate a GDScript expression or statement block against the live SceneTree and return the result and diagnostics.
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": "game_eval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| timeoutMs | No |