Control the Godot editor
editor_controlControl the Godot editor programmatically: inspect what's open, open or save scenes, play/stop the game, select nodes, and rescan project files. Launches the editor if not running.
Instructions
Drive a running Godot editor: read what is open, open a scene, save, play/stop, select nodes, rescan the filesystem. Also launches the editor. Most actions need bridge_install.
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": {
"action": "<action>"
},
"name": "editor_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | Node path for select. | |
| scene | No | Scene path for open_scene / play_scene. | |
| action | Yes | 'launch' starts the editor; the rest drive one that is already running. | |
| project | No | Godot project folder (the one with project.godot). Optional if the server was started with --project. |