editor_reload_plugin
Reload the Godot editor plugin to apply code changes or reset its state. The plugin disables and re-enables, then returns a new session ID or a reconnect notice.
Instructions
Reload the Godot editor plugin.
Disables and re-enables the plugin on the next frame. The response shape depends on whether this MCP server was spawned by the plugin or launched externally:
Plugin-managed (default install): returns a pre-flight ack
{status: "reload_initiated", transport_will_drop: true, old_session_id, guidance}immediately. The reload kills this server, so the WebSocket transport drops; reconnect and callsession_manage(op="list")to find the new session_id.Externally launched (e.g.
python -m godot_ai --transport streamable-http --port 8000 --reload): waits for the new session to register and returns{status: "reloaded", old_session_id, new_session_id}. If the old bridge disappears and no replacement registers within 15 seconds, raisesPLUGIN_DISCONNECTEDwithdata.reason == "reload_timeout"and recovery diagnostics.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "editor_reload_plugin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Optional Godot session to target. Empty = active session. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||