batch_execute
Run multiple Godot tool calls in one ordered request, stopping at the first failure and rolling back scene edits, to collapse multi-step authoring into one atomic call.
Instructions
Run several tool calls in one request, in order. steps = [{tool, args}]. Stops at the first failure (stop_on_error, default true). When a step fails, scene edits made by the batch are rolled back via the editor undo history (rollback, default true); file/resource writes are not. Use to collapse multi-step authoring (create node → set props → attach script) into one atomic call. ok per step means the handler completed - verify EFFECTS with a trailing read-back step (a get_* or describe_object call; assert_scene / assert_node_state in Full) before trusting a mutation batch.
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": {
"steps": "<steps>"
},
"name": "batch_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | ordered [{tool: name, args: {...}}] | |
| rollback | No | undo scene edits on failure (default true) | |
| stop_on_error | No | halt on first failure (default true) |