{"at":"2026-11-23T02:58:59.032Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T02:58:59.533Z","dir":"received","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"godot-mcp","version":"0.1.2"}},"cacheScope":"private","capabilities":{"completions":{},"prompts":{"listChanged":true},"resources":{"listChanged":true},"tools":{"listChanged":true}},"instructions":"Godot 4 game engine tools (scenes, nodes, scripts, running the game, errors). Your training data may predate Godot 4.7: prefer Godot 4 APIs (e.g. CharacterBody2D, @export, signal.connect(callable)), never Godot 3 syntax.\nWorkflow: call godot_status first. It says whether the live editor is connected; if so, scene/node edits happen in the editor and are undoable by the user (save with godot_scene_save). If not, edits are applied headlessly to .tscn files and you must pass \"scene\".\nPaths are res:// paths. Node paths are relative to the scene root (\".\" is the root).\nEdit scenes through the scene/node tools rather than hand-editing .tscn text. Edit scripts with godot_files_edit / godot_files_write; GDScript is compiled automatically (parse and type errors).\nTo test: godot_run_start (mode \"process\" captures output), then godot_run_output with errors: true.\nWhile the game runs: godot_game_tree / godot_game_get to see live state, godot_game_input to play it, godot_game_time to pause or step frames, godot_game_screenshot to look. Breakpoints: godot_debug_* (process runs).\nSeveral edits to one scene: godot_batch_apply (all-or-nothing, one undo step). Unsure about a Godot class or method: godot_docs_search / godot_docs_class (offline docs for the installed Godot) instead of guessing. GDScript errors and symbols: godot_code_diagnostics, godot_code_lookup.","resultType":"complete","supportedVersions":["2026-07-28"],"ttlMs":3600000}}}
{"at":"2026-11-23T02:58:59.533Z","dir":"sent","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T02:58:59.547Z","dir":"received","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"godot-mcp","version":"0.1.2"}},"cacheScope":"private","resultType":"complete","tools":[{"_meta":{"anthropic/alwaysLoad":true},"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot status: call this first. Shows the project, whether the live editor is connected (open scenes, unsaved changes, playing state), the Godot executable found, and running games.","inputSchema":{"properties":{},"type":"object"},"name":"godot_status","title":"Status"},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false},"description":"Godot addon: install or update addons/godot_mcp (the editor bridge and game runtime this server needs) from the copy bundled with the server, and enable it in project.godot.","inputSchema":{"properties":{},"type":"object"},"name":"godot_addon_install","title":"Install the editor addon"},{"_meta":{"anthropic/alwaysLoad":true},"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot project facts from project.godot: name, Godot version, main scene, autoloads, input action names, renderer, enabled plugins, C# and test framework detection.","inputSchema":{"properties":{},"type":"object"},"name":"godot_project_info","title":"Project info"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot project settings: read raw values from project.godot, filtered by key prefix (e.g. \"display/window\", \"input/jump\"). Only non-default values are stored in the file.","inputSchema":{"properties":{"limit":{"default":200,"maximum":1000,"minimum":1,"type":"integer"},"prefix":{"description":"Key prefix such as \"application\" or \"input/\". Omit to list all keys.","type":"string"}},"type":"object"},"name":"godot_project_settings","title":"Read project settings"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot files: list a project folder (res://...). Skips .godot/ and .git/; hides .uid/.import sidecars and, when recursive, addons/ contents unless all. Use recursive with a glob-like \"pattern\" (e.g. \"*.tscn\") to find files by type.","inputSchema":{"properties":{"all":{"default":false,"type":"boolean"},"max":{"default":500,"maximum":5000,"minimum":1,"type":"integer"},"path":{"default":"res://","description":"Folder to list, e.g. \"res://scenes\".","type":"string"},"pattern":{"description":"Filter file names, e.g. \"*.gd\" or \"*player*\".","type":"string"},"recursive":{"default":false,"type":"boolean"}},"type":"object"},"name":"godot_files_list","title":"List files"},{"_meta":{"anthropic/alwaysLoad":true},"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot files: read a text file (script, scene .tscn, resource .tres, shader, config) with line numbers. Use offset/limit for long files.","inputSchema":{"properties":{"limit":{"default":1000,"description":"Maximum number of lines.","maximum":5000,"minimum":1,"type":"integer"},"offset":{"default":1,"description":"First line to return (1-based).","minimum":1,"type":"integer"},"path":{"description":"File path, e.g. \"res://player.gd\".","type":"string"}},"required":["path"],"type":"object"},"name":"godot_files_read","title":"Read file"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot files: search text across project files (scripts, scenes, resources, shaders). Literal by default; set regex for a regular expression.","inputSchema":{"properties":{"case_sensitive":{"default":false,"type":"boolean"},"max_results":{"default":100,"maximum":1000,"minimum":1,"type":"integer"},"path":{"default":"res://","description":"Folder to search in.","type":"string"},"pattern":{"description":"Only files whose name matches, e.g. \"*.gd\".","type":"string"},"query":{"minLength":1,"type":"string"},"regex":{"default":false,"type":"boolean"}},"required":["query"],"type":"object"},"name":"godot_files_search","title":"Search files"},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false},"description":"Godot files: create or overwrite a text file (e.g. a .gd script or .gdshader). GDScript files are then checked for parse and type errors (as godot_script_validate). Prefer godot_files_edit for small changes to existing files.","inputSchema":{"properties":{"content":{"type":"string"},"overwrite":{"default":true,"description":"Set false to fail instead of replacing an existing file.","type":"boolean"},"path":{"description":"File path, e.g. \"res://scripts/enemy.gd\".","type":"string"}},"required":["path","content"],"type":"object"},"name":"godot_files_write","title":"Write file"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot files: replace an exact snippet in a text file (old_text -> new_text). old_text must match exactly once unless replace_all. GDScript files are then checked for parse and type errors (as godot_script_validate).","inputSchema":{"properties":{"new_text":{"type":"string"},"old_text":{"description":"Exact text to find, including indentation (tabs vs spaces matter in GDScript).","minLength":1,"type":"string"},"path":{"type":"string"},"replace_all":{"default":false,"type":"boolean"}},"required":["path","old_text","new_text"],"type":"object"},"name":"godot_files_edit","title":"Edit file"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot files: move or rename a file or folder, carrying its .uid/.import sidecar files. References by uid:// keep working; plain res:// references in other files are NOT updated.","inputSchema":{"properties":{"from":{"type":"string"},"to":{"type":"string"}},"required":["from","to"],"type":"object"},"name":"godot_files_move","title":"Move or rename file"},{"annotations":{"destructiveHint":true,"openWorldHint":false},"description":"Godot files: delete a file (and its .uid/.import sidecars). Deleting a folder requires recursive: true. This cannot be undone.","inputSchema":{"properties":{"path":{"type":"string"},"recursive":{"default":false,"type":"boolean"}},"required":["path"],"type":"object"},"name":"godot_files_delete","title":"Delete file"},{"_meta":{"anthropic/alwaysLoad":true},"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot scene: show the node tree (names, types, scripts, instanced sub-scenes) of a scene. Use depth/max_nodes to keep large scenes small; start from a subtree with root.","inputSchema":{"properties":{"depth":{"default":4,"maximum":50,"minimum":0,"type":"integer"},"max_nodes":{"default":300,"maximum":2000,"minimum":1,"type":"integer"},"root":{"description":"Start from this node path instead of the scene root. An instanced sub-scene lists its own (hidden_children) nodes.","type":"string"},"scene":{"description":"Scene file, e.g. \"res://main.tscn\". Defaults to the scene open in the editor; required when the editor is closed.","type":"string"}},"type":"object"},"name":"godot_scene_tree","title":"Scene tree"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot scene: create a new .tscn file with a root node of the given type (e.g. Node2D, Node3D, Control, CharacterBody2D).","inputSchema":{"properties":{"open":{"default":true,"description":"Open it in the editor afterwards (editor only).","type":"boolean"},"path":{"description":"New scene file, e.g. \"res://levels/level_1.tscn\".","type":"string"},"root_name":{"description":"Defaults to the file name in PascalCase.","type":"string"},"root_type":{"default":"Node2D","type":"string"}},"required":["path"],"type":"object"},"name":"godot_scene_create","title":"Create scene"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot scene: open a scene in the editor so later node operations target it.","inputSchema":{"properties":{"path":{"type":"string"}},"required":["path"],"type":"object"},"name":"godot_scene_open","title":"Open scene"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot scene: save the edited scene in the editor (headless edits are saved automatically).","inputSchema":{"properties":{"path":{"description":"An open scene to save; defaults to the edited scene.","type":"string"}},"type":"object"},"name":"godot_scene_save","title":"Save scene"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot scene: save the edited scene under a new path (editor only).","inputSchema":{"properties":{"path":{"type":"string"}},"required":["path"],"type":"object"},"name":"godot_scene_save_as","title":"Save scene as"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot node: read a node's type, script, non-default property values and connected signals. Pass properties to read only some.","inputSchema":{"properties":{"path":{"description":"Node path relative to the scene root (\".\" is the root), e.g. \"Player/Sprite2D\".","type":"string"},"properties":{"description":"Only these, e.g. [\"position\", \"visible\"]; [\"*\"] = all incl. defaults (default: non-default values only).","items":{"type":"string"},"type":"array"},"scene":{"description":"Scene file, e.g. \"res://main.tscn\". Defaults to the scene open in the editor; required when the editor is closed.","type":"string"}},"required":["path"],"type":"object"},"name":"godot_node_get","title":"Get node"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot node: add a node of a built-in type (e.g. Sprite2D, CollisionShape2D, Label) or an instance of a .tscn scene, with optional initial properties. Undoable in the editor.","inputSchema":{"properties":{"index":{"description":"Child position; omit to append.","type":"integer"},"instance":{"description":"Scene to instance, e.g. \"res://enemy.tscn\".","type":"string"},"name":{"type":"string"},"parent":{"default":".","description":"Parent node path; \".\" for the scene root.","type":"string"},"properties":{"description":"Property values. Godot types accept literals (\"Vector2(10, 20)\"), arrays ([10, 20]), \"#ff0000\" colors, \"res://\" paths to load resources, or {\"new\": \"CircleShape2D\", \"properties\": {...}}.","type":"object"},"scene":{"description":"Scene file, e.g. \"res://main.tscn\". Defaults to the scene open in the editor; required when the editor is closed.","type":"string"},"type":{"description":"Node class, e.g. \"Sprite2D\". Give type or instance.","type":"string"}},"type":"object"},"name":"godot_node_add","title":"Add node"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot node: set one or more properties on a node (position, texture, shape, modulate, ...). Returns the values read back. Undoable in the editor.","inputSchema":{"properties":{"path":{"description":"Node path relative to the scene root (\".\" is the root), e.g. \"Player/Sprite2D\".","type":"string"},"properties":{"description":"Property values. Godot types accept literals (\"Vector2(10, 20)\"), arrays ([10, 20]), \"#ff0000\" colors, \"res://\" paths to load resources, or {\"new\": \"CircleShape2D\", \"properties\": {...}}.","type":"object"},"scene":{"description":"Scene file, e.g. \"res://main.tscn\". Defaults to the scene open in the editor; required when the editor is closed.","type":"string"}},"required":["path","properties"],"type":"object"},"name":"godot_node_set","title":"Set node properties"},{"annotations":{"destructiveHint":true,"openWorldHint":false},"description":"Godot node: delete a node and its children from the scene. Undoable in the editor; permanent when headless.","inputSchema":{"properties":{"path":{"description":"Node path relative to the scene root (\".\" is the root), e.g. \"Player/Sprite2D\".","type":"string"},"scene":{"description":"Scene file, e.g. \"res://main.tscn\". Defaults to the scene open in the editor; required when the editor is closed.","type":"string"}},"required":["path"],"type":"object"},"name":"godot_node_remove","title":"Remove node"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot node: rename a node. Note: scripts or NodePaths that refer to the old name are not updated.","inputSchema":{"properties":{"name":{"type":"string"},"path":{"description":"Node path relative to the scene root (\".\" is the root), e.g. \"Player/Sprite2D\".","type":"string"},"scene":{"description":"Scene file, e.g. \"res://main.tscn\". Defaults to the scene open in the editor; required when the editor is closed.","type":"string"}},"required":["path","name"],"type":"object"},"name":"godot_node_rename","title":"Rename node"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot node: move a node under a different parent (and/or to a child index), keeping its global transform by default.","inputSchema":{"properties":{"index":{"type":"integer"},"keep_global_transform":{"default":true,"type":"boolean"},"new_parent":{"description":"New parent path; \".\" for the root.","type":"string"},"path":{"description":"Node path relative to the scene root (\".\" is the root), e.g. \"Player/Sprite2D\".","type":"string"},"scene":{"description":"Scene file, e.g. \"res://main.tscn\". Defaults to the scene open in the editor; required when the editor is closed.","type":"string"}},"required":["path","new_parent"],"type":"object"},"name":"godot_node_reparent","title":"Move node"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot node: duplicate a node (with children, script and properties) next to the original.","inputSchema":{"properties":{"name":{"type":"string"},"path":{"description":"Node path relative to the scene root (\".\" is the root), e.g. \"Player/Sprite2D\".","type":"string"},"scene":{"description":"Scene file, e.g. \"res://main.tscn\". Defaults to the scene open in the editor; required when the editor is closed.","type":"string"}},"required":["path"],"type":"object"},"name":"godot_node_duplicate","title":"Duplicate node"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot script: attach a .gd (or .cs) script to a node, or detach with script: null. Create the file first with godot_files_write.","inputSchema":{"properties":{"path":{"description":"Node path relative to the scene root (\".\" is the root), e.g. \"Player/Sprite2D\".","type":"string"},"scene":{"description":"Scene file, e.g. \"res://main.tscn\". Defaults to the scene open in the editor; required when the editor is closed.","type":"string"},"script":{"type":["string","null"]}},"required":["path","script"],"type":"object"},"name":"godot_script_attach","title":"Attach script"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot script: check GDScript for parse/type errors without running the game. Pass a file path, or source text to check before writing.","inputSchema":{"properties":{"path":{"description":"Script file, e.g. \"res://player.gd\".","type":"string"},"source":{"description":"GDScript source to check instead of (or as if it were at) path.","type":"string"}},"type":"object"},"name":"godot_script_validate","title":"Validate GDScript"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot run: start the game (main scene, the current scene, or a given scene). Returns a run_id; read errors and prints with godot_run_output, stop with godot_run_stop.","inputSchema":{"properties":{"break_on_errors":{"description":"Process mode: stop at script errors like the editor does (default false: errors are recorded, the game keeps running).","type":"boolean"},"breakpoints":{"description":"Process mode: breakpoints set before the first frame, e.g. [\"res://player.gd:42\"]. Inspect with godot_debug_state.","items":{"type":"string"},"type":"array"},"headless":{"description":"Process mode only: no window. Defaults to true when no display is available.","type":"boolean"},"mode":{"default":"auto","enum":["auto","editor","process"],"type":"string"},"quit_after_frames":{"description":"Process mode only: quit automatically after N frames (handy for smoke tests).","minimum":1,"type":"integer"},"scene":{"description":"\"main\" (default), \"current\" (editor only), or a scene path like \"res://levels/test.tscn\".","type":"string"},"write_movie":{"description":"Process mode: record frames to this file with Godot's Movie Maker (.avi, or .png for an image sequence), e.g. \"user://capture.avi\". Needs a window.","type":"string"}},"type":"object"},"name":"godot_run_start","title":"Run game"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot run: stop a running game (the given run_id, the latest process run, or the game playing in the editor).","inputSchema":{"properties":{"run_id":{"type":"string"}},"type":"object"},"name":"godot_run_stop","title":"Stop game"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot run: read output and errors of a game started with godot_run_start (process or editor mode). Use level \"error\" to see only errors, and \"since\" (the \"next\" value from the last call) to page.","inputSchema":{"properties":{"errors":{"description":"Script errors with backtraces instead of lines (repeats merged).","type":"boolean"},"level":{"default":"all","enum":["all","warning","error"],"type":"string"},"limit":{"default":200,"maximum":2000,"minimum":1,"type":"integer"},"run_id":{"description":"Default: the running game (latest run). \"editor\" for the editor's.","type":"string"},"since":{"default":0,"minimum":0,"type":"integer"}},"type":"object"},"name":"godot_run_output","title":"Game output"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot editor: read messages, warnings and errors printed by the editor process (plugin and tool scripts, import errors; not a running game's prints). Repeats are merged with a count. Page with \"since\".","inputSchema":{"properties":{"level":{"default":"all","enum":["all","warning","error"],"type":"string"},"limit":{"default":200,"maximum":2000,"minimum":1,"type":"integer"},"since":{"default":0,"minimum":0,"type":"integer"}},"type":"object"},"name":"godot_editor_logs","title":"Editor log"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot editor: open this project in the Godot editor and wait until the MCP plugin connects (the plugin must be enabled in the project).","inputSchema":{"properties":{"headless":{"default":false,"description":"Run the editor without a window (automation, CI).","type":"boolean"},"wait_seconds":{"default":60,"maximum":300,"minimum":0,"type":"integer"}},"type":"object"},"name":"godot_editor_launch","title":"Launch editor"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot node: instance a .tscn as a linked sub-scene under a parent, optionally with Editable Children. Undoable in the editor.","inputSchema":{"properties":{"editable_children":{"type":"boolean"},"index":{"type":"integer"},"instance":{"description":"e.g. \"res://enemy.tscn\"","type":"string"},"name":{"type":"string"},"parent":{"default":".","type":"string"},"properties":{"type":"object"},"scene":{"description":"Scene file; defaults to the edited scene, required without the editor.","type":"string"}},"required":["instance"],"type":"object"},"name":"godot_node_instance","title":"Instance scene"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot node: find nodes in a scene by name (glob/substring), type (incl. subclasses), group, script or property value.","inputSchema":{"properties":{"group":{"type":"string"},"limit":{"default":100,"type":"integer"},"name":{"description":"Substring or glob (*, ?).","type":"string"},"property":{"type":"string"},"root":{"description":"Search under this node.","type":"string"},"scene":{"description":"Scene file; defaults to the edited scene, required without the editor.","type":"string"},"script":{"type":"string"},"type":{"type":"string"},"value":{"description":"Required property value."}},"type":"object"},"name":"godot_node_find","title":"Find nodes"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot node: move a node to another position among its siblings (draw/process order). Undoable in the editor.","inputSchema":{"properties":{"index":{"description":"New index; negative counts from the end (-1 = last).","type":"integer"},"path":{"description":"Node path from the scene root (\".\" = root).","type":"string"},"scene":{"description":"Scene file; defaults to the edited scene, required without the editor.","type":"string"}},"required":["path","index"],"type":"object"},"name":"godot_node_move","title":"Reorder node"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot node: add or remove a node's groups (saved in the scene). Undoable in the editor.","inputSchema":{"properties":{"add":{"items":{"type":"string"},"type":"array"},"path":{"description":"Node path from the scene root (\".\" = root).","type":"string"},"remove":{"items":{"type":"string"},"type":"array"},"scene":{"description":"Scene file; defaults to the edited scene, required without the editor.","type":"string"}},"required":["path"],"type":"object"},"name":"godot_node_groups","title":"Edit node groups"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot scene: create a new scene file that inherits a base scene (like \"New Inherited Scene\"); opens it in the editor.","inputSchema":{"properties":{"base":{"description":"Base scene, e.g. \"res://enemy.tscn\".","type":"string"},"open":{"default":true,"type":"boolean"},"path":{"description":"New .tscn path.","type":"string"},"root_name":{"description":"Defaults to the file name in PascalCase.","type":"string"}},"required":["path","base"],"type":"object"},"name":"godot_scene_inherit","title":"New inherited scene"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot scene: close a scene tab in the editor. Refuses unsaved changes unless save or discard is true.","inputSchema":{"properties":{"discard":{"description":"Drop unsaved changes.","type":"boolean"},"path":{"description":"Open scene; defaults to the edited one.","type":"string"},"save":{"type":"boolean"}},"type":"object"},"name":"godot_scene_close","title":"Close scene tab"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot scene: apply up to 100 scene edits (node.add, node.set, signal.connect, ...) to one scene in order, all-or-nothing; one undo step in the editor.","inputSchema":{"properties":{"ops":{"description":"Later ops see earlier ones (add a node, then set it).","items":{"properties":{"method":{"description":"e.g. \"node.add\"","type":"string"},"params":{"type":"object"}},"required":["method","params"],"type":"object"},"maxItems":100,"minItems":1,"type":"array"},"scene":{"description":"Scene file; defaults to the edited scene, required without the editor.","type":"string"}},"required":["ops"],"type":"object"},"name":"godot_batch_apply","title":"Batch scene edits"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot signal: list saved signal connections of a node or scene and flag problems (missing/mismatched handlers, unconnected _on_* methods).","inputSchema":{"properties":{"include_available":{"default":false,"description":"Also list all signals.","type":"boolean"},"path":{"description":"Default: root.","type":"string"},"recursive":{"default":true,"type":"boolean"},"scene":{"description":"Scene file; defaults to the edited scene, required without the editor.","type":"string"}},"type":"object"},"name":"godot_signal_list","title":"List signal connections"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot signal: connect a node's signal to a method (saved in the scene), optionally creating the handler stub in the target's script.","inputSchema":{"properties":{"binds":{"description":"Extra call args.","items":{},"type":"array"},"create_method":{"description":"Add a stub to the target .gd if missing.","type":"boolean"},"flags":{"items":{"enum":["deferred","one_shot"],"type":"string"},"type":"array"},"from":{"description":"Emitting node.","type":"string"},"method":{"description":"Default _on_<from>_<signal>.","type":"string"},"scene":{"description":"Scene file; defaults to the edited scene, required without the editor.","type":"string"},"signal":{"type":"string"},"to":{"default":".","type":"string"},"unbinds":{"description":"Drop N trailing signal args.","type":"integer"}},"required":["from","signal"],"type":"object"},"name":"godot_signal_connect","title":"Connect signal"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot signal: remove a saved signal connection from a scene. Undoable in the editor.","inputSchema":{"properties":{"from":{"type":"string"},"method":{"type":"string"},"scene":{"description":"Scene file; defaults to the edited scene, required without the editor.","type":"string"},"signal":{"type":"string"},"to":{"default":".","type":"string"}},"required":["from","signal","method"],"type":"object"},"name":"godot_signal_disconnect","title":"Disconnect signal"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot resource: read a .tres/.res/.gdshader (or uid://): class, uid, non-default properties, shader uniforms, theme items.","inputSchema":{"properties":{"depth":{"description":"Sub-resource expansion depth (default 1).","maximum":4,"minimum":0,"type":"integer"},"path":{"description":"res:// path or uid://.","type":"string"},"properties":{"description":"Only these (nested paths allowed).","items":{"type":"string"},"type":"array"}},"required":["path"],"type":"object"},"name":"godot_resource_read","title":"Read resource"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot resource: create a resource file of any Resource class (materials, Theme, Gradient, shapes...) or a .gdshader with code.","inputSchema":{"properties":{"code":{"description":"For .gdshader.","type":"string"},"overwrite":{"type":"boolean"},"path":{"description":"e.g. \"res://mats/red.tres\" or \"res://x.gdshader\".","type":"string"},"properties":{"description":"Values (\"#ff0000\", [x, y], \"res://...\", {\"new\": Class}). Keys may be nested (\"next_pass:albedo_color\") or Theme items (\"Button/colors/font_color\").","type":"object"},"type":{"description":"Resource class, e.g. \"StandardMaterial3D\".","type":"string"}},"required":["path"],"type":"object"},"name":"godot_resource_create","title":"Create resource"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot resource: set properties of an existing resource file and save it (undoable in the editor; open scenes update).","inputSchema":{"properties":{"path":{"description":"res:// path or uid://.","type":"string"},"properties":{"description":"Values (\"#ff0000\", [x, y], \"res://...\", {\"new\": Class}). Keys may be nested (\"next_pass:albedo_color\") or Theme items (\"Button/colors/font_color\").","type":"object"}},"required":["path","properties"],"type":"object"},"name":"godot_resource_set","title":"Set resource properties"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot resource: list a file's dependencies (missing ones flagged), optionally the files that use it; resolves uid:// paths.","inputSchema":{"properties":{"dependents":{"description":"Also scan the project for files referencing it.","type":"boolean"},"limit":{"description":"Max dependents (default 100).","maximum":1000,"minimum":1,"type":"integer"},"path":{"description":"res:// path or uid://.","type":"string"}},"required":["path"],"type":"object"},"name":"godot_resource_deps","title":"Resource dependencies"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot visual: edit or create a VisualShader .tres with ordered node ops (add, connect, set...).","inputSchema":{"properties":{"create":{"type":"boolean"},"mode":{"description":"For create.","enum":["spatial","canvas_item","particles","sky","fog"],"type":"string"},"ops":{"items":{"properties":{"from":{"type":"integer"},"from_port":{"anyOf":[{"type":"integer"},{"type":"string"}],"description":"Or a vector component: \"0.a\"."},"id":{"description":"0 = Output; new ids >= 2.","type":"integer"},"inputs":{"description":"Port defaults {\"1\": 2.0}.","type":"object"},"op":{"enum":["add_node","connect","disconnect","remove_node","set"],"type":"string"},"position":{"items":{"type":"number"},"type":"array"},"properties":{"description":"Enums by name ok.","type":"object"},"shader_type":{"type":"string"},"to":{"type":"integer"},"to_port":{"anyOf":[{"type":"integer"},{"type":"string"}],"description":"Or Output port name (\"albedo\")."},"type":{"description":"Node class, e.g. \"ColorConstant\".","type":"string"}},"required":["op"],"type":"object"},"type":"array"},"path":{"type":"string"},"shader_type":{"description":"e.g. vertex, fragment, light, process.","type":"string"}},"required":["path","ops"],"type":"object"},"name":"godot_visual_shader_graph","title":"Edit visual shader"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot visual: list a VisualShader's nodes (id, class, properties) and connections per shader type.","inputSchema":{"properties":{"path":{"type":"string"},"shader_type":{"description":"e.g. vertex, fragment, light, process.","type":"string"}},"required":["path"],"type":"object"},"name":"godot_visual_shader_graph_read","title":"Read visual shader"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot visual: apply a Control layout preset, anchors/offsets, size flags or minimum size. Undoable.","inputSchema":{"properties":{"anchors":{"description":"[left, top, right, bottom]","items":{"type":"number"},"type":"array"},"custom_minimum_size":{"description":"[w, h]","items":{"type":"number"},"type":"array"},"margin":{"type":"integer"},"offsets":{"description":"[left, top, right, bottom]","items":{"type":"number"},"type":"array"},"path":{"description":"Control node path.","type":"string"},"preset":{"description":"e.g. full_rect, center, top_wide.","type":"string"},"resize_mode":{"enum":["minsize","keep_width","keep_height","keep_size"],"type":"string"},"scene":{"type":"string"},"size_flags":{"description":"{horizontal, vertical}: \"fill\", \"expand_fill\"...","type":"object"}},"required":["path"],"type":"object"},"name":"godot_visual_layout","title":"Control layout"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot visual: compile shader code or a .gdshader/VisualShader file and report errors with line numbers.","inputSchema":{"properties":{"code":{"description":"Shader source (wins over path).","type":"string"},"path":{"type":"string"}},"type":"object"},"name":"godot_visual_shader_check","title":"Check shader"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot animation: list an AnimationPlayer's libraries and animations, or with animation the tracks and keys of one. Pass library (a .tres) instead of a scene player to read an AnimationLibrary file.","inputSchema":{"properties":{"animation":{"description":"\"name\" or \"library/name\": include its tracks.","type":"string"},"library":{"description":"AnimationLibrary .tres instead of a player.","type":"string"},"max_keys":{"description":"Keys per track (default 50).","type":"number"},"player":{"description":"AnimationPlayer path; optional if the scene has one.","type":"string"},"scene":{"description":"Scene; required headless.","type":"string"}},"type":"object"},"name":"godot_anim_read","title":"Read animations"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot animation: create/remove/rename animations and add tracks and keys on an AnimationPlayer. ops run in order as one undo step; track paths are \"Node:property\" relative to the player's root_node.","inputSchema":{"properties":{"allow_missing":{"description":"Skip existence checks.","type":"boolean"},"animation":{"description":"Default animation for ops that omit it.","type":"string"},"ops":{"items":{"properties":{"animation":{"description":"\"walk\" or \"library/walk\".","type":"string"},"interpolation":{"enum":["nearest","linear","cubic","linear_angle","cubic_angle"],"type":"string"},"key":{"type":"number"},"length":{"type":"number"},"loop":{"enum":["none","linear","pingpong"],"type":"string"},"op":{"enum":["create","remove","rename","set","add_track","remove_track","insert_key","remove_key"],"type":"string"},"path":{"description":"add_track: e.g. \"Sprite2D:modulate\".","type":"string"},"step":{"type":"number"},"time":{"type":"number"},"to":{"type":"string"},"track":{"description":"Track index or path.","type":["number","string"]},"transition":{"description":"Easing (1 = linear).","type":"number"},"type":{"description":"Track type (default value).","enum":["value","position_3d","rotation_3d","scale_3d","blend_shape","method","bezier","audio","animation"],"type":"string"},"update_mode":{"enum":["continuous","discrete","capture"],"type":"string"},"value":{"description":"Typed like the property; method: {method,args}; rotation_3d: [x,y,z] deg."}},"required":["op"],"type":"object"},"type":"array"},"player":{"description":"AnimationPlayer path; optional if the scene has one.","type":"string"},"scene":{"description":"Scene; required headless.","type":"string"}},"required":["ops"],"type":"object"},"name":"godot_anim_edit","title":"Edit animations"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot animation: show an AnimationTree's graph (states, transitions, blend points, blend tree nodes) and its parameters.","inputSchema":{"properties":{"parameters":{"type":"boolean"},"scene":{"description":"Scene; required headless.","type":"string"},"tree":{"description":"AnimationTree path; optional if the scene has one.","type":"string"}},"type":"object"},"name":"godot_anim_tree_read","title":"Read AnimationTree"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot animation: build an AnimationTree state machine, blend space or blend tree (states, transitions, start/end, blend points). ops run in order as one undo step.","inputSchema":{"properties":{"allow_missing":{"description":"Skip existence checks.","type":"boolean"},"nested":{"description":"Edit a nested graph, e.g. \"Locomotion\".","type":"string"},"ops":{"items":{"properties":{"advance_condition":{"type":"string"},"advance_expression":{"type":"string"},"advance_mode":{"enum":["disabled","enabled","auto"],"type":"string"},"animation":{"type":"string"},"from":{"type":"string"},"index":{"description":"Point index or input port.","type":"number"},"name":{"description":"State, node or blend point name.","type":"string"},"op":{"enum":["set_root","add_state","remove_state","rename_state","add_transition","remove_transition","set_start","set_end","add_blend_point","remove_blend_point","set"],"type":"string"},"position":{"anyOf":[{"type":"number"},{"items":{"type":"number"},"type":"array"}],"description":"Number (1D) or [x, y]."},"properties":{"type":"object"},"switch_mode":{"enum":["immediate","sync","at_end"],"type":"string"},"to":{"type":"string"},"type":{"description":"state_machine, blend_space_1d|2d, blend_tree, or AnimationNode class.","type":"string"},"xfade_time":{"type":"number"}},"required":["op"],"type":"object"},"type":"array"},"scene":{"description":"Scene; required headless.","type":"string"},"tree":{"description":"AnimationTree path; optional if the scene has one.","type":"string"}},"required":["ops"],"type":"object"},"name":"godot_anim_tree","title":"Edit AnimationTree"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot animation: read or edit the SpriteFrames of an AnimatedSprite2D/3D (or a .tres): add/rename/remove animations, speed/loop, frames cut from a sprite sheet. No ops = summary.","inputSchema":{"properties":{"node":{"description":"AnimatedSprite2D/3D; optional if the scene has one.","type":"string"},"ops":{"items":{"properties":{"animation":{"type":"string"},"cells":{"description":"Row-major indices or [col, row].","items":{},"type":"array"},"count":{"type":"number"},"duration":{"description":"Relative frame length (1).","type":"number"},"frame_size":{"description":"[w, h] instead of h/vframes.","items":{"type":"number"},"type":"array"},"hframes":{"type":"number"},"loop":{"type":"boolean"},"op":{"enum":["add","remove","rename","set","add_frames","clear"],"type":"string"},"speed":{"description":"FPS.","type":"number"},"start":{"type":"number"},"texture":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}],"description":"Sheet to cut, or whole texture(s). add takes frames too."},"to":{"type":"string"},"vframes":{"type":"number"}},"required":["op","animation"],"type":"object"},"type":"array"},"path":{"description":"SpriteFrames .tres instead of a node.","type":"string"},"scene":{"description":"Scene; required headless.","type":"string"}},"type":"object"},"name":"godot_anim_frames","title":"Edit SpriteFrames"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot world: read a TileMapLayer/GridMap: cells, bounds and the TileSet tiles/terrains or MeshLibrary items to paint with.","inputSchema":{"properties":{"limit":{"default":500,"maximum":10000,"minimum":1,"type":"integer"},"path":{"type":"string"},"region":{"additionalProperties":{"type":"number"},"description":"{x,y,w,h}; GridMap +z,d","type":"object"},"scene":{"description":"Scene; default edited one (required headless)","type":"string"},"summary_only":{"default":false,"type":"boolean"}},"required":["path"],"type":"object"},"name":"godot_grid_read","title":"Read tile/grid map"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot world: paint a TileMapLayer/GridMap with ordered ops (set, erase, fill_rect, terrain; clear wipes all cells). One undo step.","inputSchema":{"properties":{"ops":{"description":"set/erase/terrain take cells and/or rect. Max 10000 cells.","items":{"properties":{"alt":{"type":"number"},"atlas":{"items":{"type":"number"},"type":"array"},"cells":{"description":"[[x,y]...]; GridMap [[x,y,z]...]","items":{"items":{"type":"number"},"type":"array"},"type":"array"},"item":{"type":"number"},"mode":{"enum":["connect","path"],"type":"string"},"op":{"enum":["set","erase","fill_rect","clear","terrain"],"type":"string"},"orientation":{"description":"0-23; Y 90/180/270=16/10/22","type":"number"},"rect":{"additionalProperties":{"type":"number"},"description":"{x,y,w,h}; GridMap +z,d","type":"object"},"source":{"type":"number"},"terrain":{"type":["number","string"]},"terrain_set":{"type":"number"}},"required":["op"],"type":"object"},"minItems":1,"type":"array"},"path":{"type":"string"},"scene":{"description":"Scene; default edited one (required headless)","type":"string"}},"required":["path","ops"],"type":"object"},"name":"godot_grid_edit","title":"Edit tile/grid map"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot world: create/edit a TileSet .tres: atlas sources, collision (one-way), navigation, occlusion, terrains, custom data, per-tile values, alternative tiles, animation. Saved at once.","inputSchema":{"properties":{"create":{"default":false,"type":"boolean"},"ops":{"default":[],"items":{"properties":{"alt":{"description":"Alternative id; default all","type":"number"},"collision_layer":{"type":"number"},"collision_mask":{"type":"number"},"color":{"anyOf":[{"type":"string"},{"items":{"type":"number"},"type":"array"}]},"columns":{"type":"number"},"create_tiles":{"enum":["opaque","all","none"],"type":"string"},"duration":{"anyOf":[{"type":"number"},{"items":{"type":"number"},"type":"array"}],"description":"Seconds, per frame or list"},"frames":{"type":"number"},"layer":{"description":"Nav/occlusion layer; default 0","type":"number"},"layers":{"type":"number"},"light_mask":{"type":"number"},"margins":{"items":{"type":"number"},"type":"array"},"mode":{"enum":["corners_and_sides","corners","sides","default","random_start_times"],"type":"string"},"name":{"type":"string"},"one_way":{"type":"boolean"},"one_way_margin":{"type":"number"},"op":{"enum":["add_atlas","remove_source","add_physics_layer","set_collision","add_navigation_layer","set_navigation","add_occlusion_layer","set_occluder","add_terrain_set","add_terrain","set_terrain","add_custom_data","set_tile_data","add_alternative","set_animation"],"type":"string"},"peering":{"additionalProperties":{"type":"number"},"description":"{\"right_side\":0} or {\"all\":0}","type":"object"},"physics_layer":{"type":"number"},"polygon":{"description":"Px from tile center; default full tile; [] removes","items":{"items":{"type":"number"},"type":"array"},"type":"array"},"sdf_collision":{"type":"boolean"},"separation":{"items":{"type":"number"},"type":"array"},"source":{"type":"number"},"speed":{"type":"number"},"terrain":{"type":"number"},"terrain_set":{"type":"number"},"texture":{"type":"string"},"tile_size":{"items":{"type":"number"},"type":"array"},"tiles":{"description":"Atlas coords; default all","items":{"items":{"type":"number"},"type":"array"},"type":"array"},"type":{"type":"string"},"values":{"description":"Custom data by layer name, TileData props","type":"object"}},"required":["op"],"type":"object"},"type":"array"},"path":{"description":".tres path","type":"string"},"tile_size":{"items":{"type":"number"},"type":"array"}},"required":["path"],"type":"object"},"name":"godot_tileset_edit","title":"Edit TileSet"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot world: bake a NavigationRegion2D/3D from its child colliders, meshes, GridMaps and TileMapLayers.","inputSchema":{"properties":{"agent_radius":{"type":"number"},"outline":{"description":"2D walkable polygon","items":{"items":{"type":"number"},"type":"array"},"type":"array"},"path":{"description":"Region; default the only one","type":"string"},"scene":{"description":"Scene; default edited one (required headless)","type":"string"}},"type":"object"},"name":"godot_navigation_bake","title":"Bake navigation"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot world: shortest path between two points over the scene's baked navigation regions.","inputSchema":{"properties":{"from":{"description":"[x,y] or [x,y,z]","items":{"type":"number"},"type":"array"},"layers":{"type":"number"},"optimize":{"default":true,"type":"boolean"},"path":{"type":"string"},"scene":{"description":"Scene; default edited one (required headless)","type":"string"},"to":{"items":{"type":"number"},"type":"array"}},"required":["from","to"],"type":"object"},"name":"godot_navigation_path","title":"Navigation path"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot audio: list the audio buses (volume, mute, solo, send) and their effects from the project's bus layout.","inputSchema":{"properties":{},"type":"object"},"name":"godot_audio_buses","title":"Read audio buses"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot audio: add, remove, rename, move and set buses (volume, mute, solo, send) and their effects; saves the bus layout.","inputSchema":{"properties":{"ops":{"items":{"properties":{"bus":{"description":"Bus name or index.","type":["string","number"]},"bypass_effects":{"type":"boolean"},"effect":{"description":"Effect index.","type":"number"},"enabled":{"type":"boolean"},"index":{"description":"New position.","type":"number"},"mute":{"type":"boolean"},"name":{"type":"string"},"op":{"enum":["add_bus","remove_bus","rename_bus","move_bus","set","add_effect","remove_effect","set_effect"],"type":"string"},"properties":{"type":"object"},"send":{"type":"string"},"solo":{"type":"boolean"},"type":{"description":"add_effect: e.g. \"AudioEffectReverb\".","type":"string"},"volume_db":{"type":"number"}},"required":["op"],"type":"object"},"type":"array"}},"required":["ops"],"type":"object"},"name":"godot_audio_edit","title":"Edit audio buses"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot project: change project settings (project.godot); null resets one to its default. Values are converted to each setting's type.","inputSchema":{"properties":{"create":{"description":"Allow adding settings that do not exist yet (custom settings).","type":"boolean"},"settings":{"description":"Setting -> value, e.g. {\"display/window/size/viewport_width\": 1280, \"application/run/main_scene\": \"res://main.tscn\"}.","type":"object"}},"required":["settings"],"type":"object"},"name":"godot_project_set","title":"Set project settings"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot project: edit the input map (actions and their key/mouse/gamepad bindings), applied in order and saved to project.godot.","inputSchema":{"properties":{"ops":{"items":{"properties":{"action":{"type":"string"},"deadzone":{"maximum":1,"minimum":0,"type":"number"},"event":{"anyOf":[{"type":"string"},{"type":"object"}],"description":"Key name (\"R\", \"Up\", \"Ctrl+S\"; always a physical key, i.e. layout position) or {type: key|mouse_button|joy_button|joy_axis, key, button (\"left\", \"a\"), axis (\"left_x\"), value (-1/1), physical (false: by keycode), ctrl, shift, alt, meta, device}."},"index":{"description":"remove_event: index of the binding.","minimum":0,"type":"integer"},"op":{"enum":["add_action","remove_action","add_event","remove_event","clear_events","set_deadzone"],"type":"string"}},"required":["op","action"],"type":"object"},"minItems":1,"type":"array"}},"required":["ops"],"type":"object"},"name":"godot_input_edit","title":"Edit input map"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot project: add, remove or reorder autoloads (global singletons loaded at startup).","inputSchema":{"properties":{"index":{"description":"Load position (0 = first); required for move.","minimum":0,"type":"integer"},"name":{"description":"Autoload name, e.g. \"GameState\".","type":"string"},"op":{"enum":["add","remove","move"],"type":"string"},"path":{"description":"add: script or scene, e.g. \"res://game_state.gd\".","type":"string"},"singleton":{"description":"Register as a global name (default true).","type":"boolean"}},"required":["op","name"],"type":"object"},"name":"godot_autoload_edit","title":"Edit autoloads"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot project: enable or disable editor plugins (addons) and list the available ones.","inputSchema":{"properties":{"disable":{"items":{"type":"string"},"type":"array"},"enable":{"description":"Plugin folder names under addons/ or plugin.cfg paths.","items":{"type":"string"},"type":"array"},"force":{"description":"Allow disabling godot_mcp itself.","type":"boolean"}},"type":"object"},"name":"godot_project_plugins","title":"Editor plugins"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot project: health check for missing dependencies, stale or duplicate UIDs, script compile errors, broken autoloads, main scene and plugins.","inputSchema":{"properties":{"addons":{"description":"Also check res://addons/ (skipped by default).","type":"boolean"},"deep":{"description":"Also load each scene/resource to catch load errors (slower).","type":"boolean"},"limit":{"description":"Max issues returned (default 200).","maximum":1000,"minimum":1,"type":"integer"},"offset":{"minimum":0,"type":"integer"},"path_prefix":{"description":"Only check files under this folder, e.g. \"res://levels\".","type":"string"},"scope":{"enum":["all","project","scenes","resources","scripts","uids"],"type":"string"}},"type":"object"},"name":"godot_project_validate","title":"Validate project"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot import: show an asset's importer, non-default options (full: all), uid and whether its imported files exist (imports new assets first).","inputSchema":{"properties":{"full":{"type":"boolean"},"path":{"description":"Imported asset, e.g. \"res://icon.svg\".","type":"string"}},"required":["path"],"type":"object"},"name":"godot_import_get","title":"Get import settings"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot import: change an asset's import options (or importer) and reimport it.","inputSchema":{"properties":{"importer":{"description":"Switch importer, e.g. \"image\", \"keep\".","type":"string"},"options":{"description":"Option keys from import.get (full), e.g. {\"compress/mode\": 2}.","type":"object"},"path":{"description":"Imported asset, e.g. \"res://icon.svg\".","type":"string"}},"required":["path"],"type":"object"},"name":"godot_import_set","title":"Change import settings"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot export: list export presets (platform, path, filters, options; secrets redacted) and whether export templates are installed.","inputSchema":{"properties":{"preset":{"anyOf":[{"type":"string"},{"minimum":0,"type":"integer"}],"description":"Show one preset with all its options."}},"type":"object"},"name":"godot_export_presets","title":"Export presets"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot export: change an export preset's fields/options, or create a preset, in export_presets.cfg.","inputSchema":{"properties":{"allow_new_keys":{"type":"boolean"},"allow_secrets":{"type":"boolean"},"create":{"properties":{"name":{"type":"string"},"platform":{"description":"\"Linux\", \"Windows Desktop\", \"Web\", ...","type":"string"}},"required":["name","platform"],"type":"object"},"preset":{"anyOf":[{"type":"string"},{"minimum":0,"type":"integer"}],"description":"Preset name or index."},"set":{"description":"e.g. {\"export_path\": \"build/game.exe\", \"binary_format/embed_pck\": true}.","type":"object"}},"type":"object"},"name":"godot_export_preset_set","title":"Edit export preset"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot export: build the game with an export preset (release, debug, pack-only .pck/.zip, or patch); long-running.","inputSchema":{"properties":{"allow_outside_project":{"description":"Allow an absolute output path outside the project.","type":"boolean"},"mode":{"default":"release","enum":["release","debug","pack","patch"],"type":"string"},"output":{"description":"Output file; default the preset's export_path. Relative = inside the project.","type":"string"},"patches":{"description":"patch: base .pck files (default: the preset's patches).","items":{"type":"string"},"type":"array"},"preset":{"description":"Preset name (see godot_export_presets).","type":"string"},"timeout_s":{"default":1800,"maximum":14400,"minimum":10,"type":"integer"}},"required":["preset"],"type":"object"},"name":"godot_export_run","title":"Export project"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot code: GDScript errors and warnings for .gd files or a folder, from the language server.","inputSchema":{"properties":{"paths":{"description":".gd files or folders (res://).","items":{"type":"string"},"minItems":1,"type":"array"}},"required":["paths"],"type":"object"},"name":"godot_code_diagnostics","title":"GDScript diagnostics"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot code: outline of a .gd file (funcs, signals, vars, consts, classes with lines), or find symbols by name with query.","inputSchema":{"properties":{"path":{"default":"res://","description":".gd file to outline, or folder to search with query.","type":"string"},"query":{"description":"Name substring to search for across scripts.","type":"string"}},"type":"object"},"name":"godot_code_symbols","title":"GDScript symbols"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot code: hover docs, definition, references, signature, completion or highlights at a position in a .gd file.","inputSchema":{"properties":{"column":{"description":"1-based column; or give symbol.","minimum":1,"type":"integer"},"kind":{"default":"hover","enum":["hover","definition","references","signature","completion","highlight"],"type":"string"},"limit":{"default":30,"description":"Max completion items.","maximum":200,"minimum":1,"type":"integer"},"line":{"description":"1-based line.","minimum":1,"type":"integer"},"path":{"description":".gd file (res://).","type":"string"},"symbol":{"description":"Identifier text on that line (instead of column).","type":"string"}},"required":["path","line"],"type":"object"},"name":"godot_code_lookup","title":"GDScript lookup"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot code: rename a GDScript symbol across the project via the language server (skips comments/strings). dry_run previews.","inputSchema":{"properties":{"column":{"description":"1-based column; or give symbol.","minimum":1,"type":"integer"},"dry_run":{"default":false,"type":"boolean"},"include_comments":{"default":false,"description":"Also rename matches in comments/strings.","type":"boolean"},"line":{"description":"1-based line.","minimum":1,"type":"integer"},"new_name":{"description":"New identifier.","type":"string"},"path":{"description":".gd file (res://).","type":"string"},"symbol":{"description":"Identifier text on that line (instead of column).","type":"string"}},"required":["path","line","new_name"],"type":"object"},"name":"godot_code_rename","title":"Rename GDScript symbol"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot docs: search the offline class reference (engine + project classes) by class/member name or words.","inputSchema":{"properties":{"kind":{"enum":["class","method","property","signal","constant","enum","annotation","utility"],"type":"string"},"limit":{"default":20,"maximum":100,"minimum":1,"type":"integer"},"query":{"description":"e.g. \"move_and_slide\", \"Timer\", \"Node2D.rot\", \"play sound\".","minLength":1,"type":"string"}},"required":["query"],"type":"object"},"name":"godot_docs_search","title":"Search Godot docs"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot docs: class reference for an engine or project class, or one member (\"Class.member\"), as markdown.","inputSchema":{"properties":{"inherited":{"default":false,"description":"Also list inherited member names.","type":"boolean"},"max_chars":{"description":"Cap on the whole result; default 4000, 12000 with members/inherited.","maximum":50000,"minimum":200,"type":"integer"},"members":{"default":false,"description":"List members with one-line briefs.","type":"boolean"},"name":{"description":"e.g. \"CharacterBody2D\", \"Node.add_child\", \"@GDScript.preload\", a project class_name.","minLength":1,"type":"string"}},"required":["name"],"type":"object"},"name":"godot_docs_class","title":"Godot class docs"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot game: the running game's live nodes as a flat list (path, class, script, rect/pos, visible text). Filters list matches only; text \"Start\" finds the button to click.","inputSchema":{"properties":{"class":{"description":"Incl. subclasses.","type":"string"},"depth":{"minimum":0,"type":"integer"},"group":{"type":"string"},"max_nodes":{"description":"Default 150.","maximum":2000,"minimum":1,"type":"integer"},"name":{"description":"Name contains.","type":"string"},"root":{"description":"Default: current scene; \"/root\" adds autoloads.","type":"string"},"run_id":{"description":"Default: newest running game.","type":"string"},"text":{"description":"Visible text contains (Label, Button, LineEdit...).","type":"string"}},"type":"object"},"name":"godot_game_tree","title":"Live game tree"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot game: current values of a live node: script variables and non-default properties (or listed ones, \"prop:sub\" ok), groups; optionally signal connections and script methods.","inputSchema":{"properties":{"methods":{"type":"boolean"},"path":{"description":"Node path: relative to the current scene (default \".\") or /root/....","type":"string"},"properties":{"description":"Only these; \"get_x()\" calls a getter; [\"*\"] = all incl. defaults.","items":{"type":"string"},"type":"array"},"run_id":{"description":"Default: newest running game.","type":"string"},"signals":{"type":"boolean"}},"type":"object"},"name":"godot_game_get","title":"Read live node"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot game: change the running game with ops in order: set properties, call a method (returns its value, awaits coroutines), spawn, remove, change/reload scene. Stops at the first failing op; earlier ops stay (no undo, nothing saved).","inputSchema":{"properties":{"ops":{"items":{"properties":{"action":{"description":"set {path, properties} | call {path, method, args} | spawn {class or scene, parent, name, properties} | remove {path} | change_scene {scene; omit to reload}","enum":["set","call","spawn","remove","change_scene"],"type":"string"},"args":{"items":{},"type":"array"},"class":{"type":"string"},"method":{"type":"string"},"name":{"type":"string"},"parent":{"type":"string"},"path":{"description":"Node path: relative to the current scene (default \".\") or /root/....","type":"string"},"properties":{"description":"e.g. {\"position\": [10, 20]}","type":"object"},"scene":{"type":"string"}},"required":["action"],"type":"object"},"maxItems":50,"minItems":1,"type":"array"},"run_id":{"description":"Default: newest running game.","type":"string"}},"required":["ops"],"type":"object"},"name":"godot_game_edit","title":"Change live game"},{"annotations":{"destructiveHint":true,"openWorldHint":false},"description":"Godot game: evaluate code in the running game: an Expression with self = node (default; autoloads and singletons by name), or a GDScript body of func run(node, tree, inputs) (use return). Off unless the server runs with --allow-eval.","inputSchema":{"properties":{"code":{"type":"string"},"inputs":{"description":"Named values for the code.","type":"object"},"mode":{"enum":["expression","gdscript"],"type":"string"},"path":{"description":"Node path: relative to the current scene (default \".\") or /root/....","type":"string"},"run_id":{"description":"Default: newest running game.","type":"string"}},"required":["code"],"type":"object"},"name":"godot_game_eval","title":"Evaluate code in game"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot game: send input steps in order (keys, actions, clicks on positions or nodes, drags, scroll, typing, joypad, touch, waits). Reports the Control and physics object under each click.","inputSchema":{"properties":{"run_id":{"description":"Default: newest game.","type":"string"},"steps":{"items":{"properties":{"action":{"description":"InputMap action.","type":"string"},"at":{"anyOf":[{"items":{"type":"number"},"maxItems":2,"minItems":2,"type":"array"},{"type":"string"}],"description":"[x,y] game (viewport) px, or node path (its center)."},"axis":{"description":"left_x/left_y/right_x/right_y/trigger_left/trigger_right","type":"string"},"button":{"description":"Mouse left/right/middle; scroll up/down/left/right; joypad a/b/x/y/start/dpad_up...","type":["string","number"]},"device":{"description":"Joypad / touch index.","type":"integer"},"double":{"type":"boolean"},"frames":{"minimum":0,"type":"integer"},"key":{"description":"\"Space\", \"A\", \"Left\", \"Escape\", \"Ctrl+S\"","type":"string"},"ms":{"description":"Hold, drag or wait time.","minimum":0,"type":"number"},"phase":{"enum":["tap","press","release"],"type":"string"},"steps":{"description":"Drag moves.","minimum":1,"type":"integer"},"text":{"description":"Typed into the focused control.","type":"string"},"to":{"anyOf":[{"items":{"type":"number"},"maxItems":2,"minItems":2,"type":"array"},{"type":"string"}],"description":"drag/touch end."},"type":{"enum":["key","action","move","click","drag","scroll","text","joy_button","joy_axis","touch","wait"],"type":"string"},"value":{"description":"Action strength, axis value, scroll clicks.","type":"number"}},"required":["type"],"type":"object"},"maxItems":200,"minItems":1,"type":"array"}},"required":["steps"],"type":"object"},"name":"godot_game_input","title":"Send input to game"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot game: pause/resume the whole game (Godot's suspend: no node processes; SceneTree.paused untouched), step frames or physics ticks, set speed, or wait for a node, signal, condition, frames or seconds.","inputSchema":{"properties":{"action":{"enum":["state","pause","resume","step","speed","wait_for"],"type":"string"},"condition":{"description":"Expression on node, e.g. \"position.x > 300\".","type":"string"},"frames":{"description":"step: frames to advance (default 1); wait_for: frames.","maximum":10000,"minimum":1,"type":"integer"},"node":{"description":"wait_for: node to appear; signal emitter; condition base.","type":"string"},"physics_ticks":{"description":"step: exactly N physics ticks instead.","maximum":300,"minimum":1,"type":"integer"},"run_id":{"description":"Default: newest game.","type":"string"},"scale":{"description":"speed: 1 = normal.","maximum":100,"minimum":0.01,"type":"number"},"seconds":{"description":"wait_for: game seconds.","minimum":0,"type":"number"},"signal":{"type":"string"},"timeout_ms":{"default":10000,"maximum":300000,"minimum":0,"type":"integer"}},"required":["action"],"type":"object"},"name":"godot_game_time","title":"Game time control"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot game: record the game's input events (real and injected) with timestamps, stop to get them as compact JSON (or save to a file), and replay them with the original timing.","inputSchema":{"properties":{"action":{"enum":["start","stop","replay"],"type":"string"},"path":{"description":"stop: save JSON here (user:// or res://); replay: load from here.","type":"string"},"recording":{"description":"replay: the object stop returned.","type":"object"},"run_id":{"description":"Default: newest game.","type":"string"},"speed":{"description":"replay speed (default 1).","maximum":100,"minimum":0.01,"type":"number"}},"required":["action"],"type":"object"},"name":"godot_game_record","title":"Record/replay game input"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot game: screenshot the running game (window, a node's viewport, or a region) or the editor's 2D/3D view, scaled down. Can save it and diff against a saved image.","inputSchema":{"properties":{"compare_to":{"description":"Saved image to diff with (full resolution; changed_rect in viewport px).","type":"string"},"format":{"default":"png","enum":["png","jpg"],"type":"string"},"max_size":{"default":768,"description":"Longest side, px.","maximum":4096,"minimum":16,"type":"integer"},"node":{"description":"Node to frame (crop to its screen rect), or a viewport.","type":"string"},"quality":{"description":"JPEG; default 0.85.","maximum":1,"minimum":0.01,"type":"number"},"region":{"description":"Crop, in image px (window px with stretch).","properties":{"h":{"minimum":1,"type":"integer"},"w":{"minimum":1,"type":"integer"},"x":{"type":"integer"},"y":{"type":"integer"}},"required":["x","y","w","h"],"type":"object"},"run_id":{"description":"Default: newest run, else the editor's game.","type":"string"},"save_to":{"description":"user:// or res:// .png/.jpg (full size).","type":"string"},"source":{"default":"game","enum":["game","editor_2d","editor_3d"],"type":"string"},"tolerance":{"default":16,"description":"Per-channel diff threshold.","maximum":255,"minimum":0,"type":"integer"}},"type":"object"},"name":"godot_game_screenshot","title":"Game screenshot"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot game: performance monitors of the running game (fps, frame times, memory, objects, draw calls...); optionally sample frames (stats, spikes) and profile script functions.","inputSchema":{"properties":{"monitors":{"description":"Full monitor snapshot. Default: only when no sample/profile is asked for.","type":"boolean"},"profile_scripts_seconds":{"description":"Top script functions by self time (process runs).","maximum":30,"minimum":0.5,"type":"number"},"run_id":{"description":"Default: newest run, else the editor's game.","type":"string"},"sample_seconds":{"description":"Record every frame: min/avg/p95/max, spikes.","maximum":30,"minimum":0.1,"type":"number"},"top":{"default":15,"description":"Functions to list.","maximum":50,"minimum":1,"type":"integer"}},"type":"object"},"name":"godot_game_perf","title":"Game performance"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot debug: is the game stopped (breakpoint, error, pause)? Call stack and variables (locals, members, globals) of a frame.","inputSchema":{"properties":{"expand":{"description":"Object variables to open, e.g. [\"self\",\"body\"].","items":{"type":"string"},"type":"array"},"frame":{"default":0,"description":"Frame for variables (0 = innermost).","minimum":0,"type":"integer"},"globals":{"default":false,"description":"Also globals (autoloads).","type":"boolean"},"run_id":{"description":"Default: newest process run.","type":"string"},"variables":{"default":true,"type":"boolean"},"wait":{"description":"Seconds to wait for a stop.","maximum":60,"minimum":0,"type":"number"}},"type":"object"},"name":"godot_debug_state","title":"Debug state"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot debug: continue, pause, step_into/over/out (returns the new location and locals), or evaluate an expression in a stopped game (process runs).","inputSchema":{"properties":{"action":{"enum":["continue","pause","step_into","step_over","step_out","evaluate"],"type":"string"},"expression":{"description":"evaluate: a Godot Expression; sees locals, self's members/methods, autoloads. Can have side effects.","type":"string"},"frame":{"default":0,"description":"evaluate: stack frame (0 = innermost).","minimum":0,"type":"integer"},"run_id":{"description":"Default: newest process run.","type":"string"},"wait":{"description":"Seconds to wait for the next stop (default 10; continue 0).","maximum":120,"minimum":0,"type":"number"}},"required":["action"],"type":"object"},"name":"godot_debug_control","title":"Debug control"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot debug: list, add, remove or clear breakpoints of a game started with godot_run_start (process mode), running or stopped.","inputSchema":{"properties":{"action":{"default":"list","enum":["list","add","remove","clear"],"type":"string"},"breakpoints":{"description":"\"res://player.gd:42\" or {file, line}.","items":{"anyOf":[{"type":"string"},{"properties":{"file":{"type":"string"},"line":{"type":"integer"}},"required":["file","line"],"type":"object"}]},"type":"array"},"run_id":{"description":"Default: newest process run.","type":"string"}},"type":"object"},"name":"godot_debug_breakpoints","title":"Breakpoints"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot test: run GUT or GdUnit4 tests headlessly (all, a folder, a file or one test name); returns totals and failures with file:line.","inputSchema":{"properties":{"framework":{"default":"auto","enum":["auto","gut","gdunit4"],"type":"string"},"path":{"description":"Test folder or .gd file; default all tests.","type":"string"},"test":{"description":"Test function name (or part of it).","type":"string"},"timeout_s":{"default":600,"maximum":3600,"minimum":10,"type":"integer"}},"type":"object"},"name":"godot_test_run","title":"Run tests"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot editor: get/set the selected nodes, open a script at a line, save all scenes and scripts, or show a toast.","inputSchema":{"properties":{"action":{"enum":["get_selection","select","open_script","save_all","toast"],"type":"string"},"column":{"minimum":1,"type":"integer"},"line":{"minimum":1,"type":"integer"},"message":{"description":"toast text.","type":"string"},"paths":{"description":"select: node paths ([] clears).","items":{"type":"string"},"type":"array"},"scene":{"description":"select/get_selection: scene to open first.","type":"string"},"script":{"description":"open_script: res:// path.","type":"string"},"severity":{"enum":["info","warning","error"],"type":"string"}},"required":["action"],"type":"object"},"name":"godot_editor_ui","title":"Editor UI"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot tool catalog: search all available Godot operations by keyword (\"search\"), or get full parameter schemas for some (\"describe\").","inputSchema":{"properties":{"action":{"enum":["search","describe"],"type":"string"},"operations":{"description":"describe: operation names from search, e.g. [\"node.reparent\"].","items":{"type":"string"},"type":"array"},"query":{"description":"search: keywords, e.g. \"animation\" or \"delete node\". Empty: names only.","type":"string"}},"required":["action"],"type":"object"},"name":"godot_tools","title":"Find Godot operations"}],"ttlMs":3600000}}}
{"at":"2026-11-23T02:58:59.649Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T02:59:00.062Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"completions":{},"prompts":{"listChanged":true},"resources":{"listChanged":true},"tools":{"listChanged":true}},"instructions":"Godot 4 game engine tools (scenes, nodes, scripts, running the game, errors). Your training data may predate Godot 4.7: prefer Godot 4 APIs (e.g. CharacterBody2D, @export, signal.connect(callable)), never Godot 3 syntax.\nWorkflow: call godot_status first. It says whether the live editor is connected; if so, scene/node edits happen in the editor and are undoable by the user (save with godot_scene_save). If not, edits are applied headlessly to .tscn files and you must pass \"scene\".\nPaths are res:// paths. Node paths are relative to the scene root (\".\" is the root).\nEdit scenes through the scene/node tools rather than hand-editing .tscn text. Edit scripts with godot_files_edit / godot_files_write; GDScript is compiled automatically (parse and type errors).\nTo test: godot_run_start (mode \"process\" captures output), then godot_run_output with errors: true.\nWhile the game runs: godot_game_tree / godot_game_get to see live state, godot_game_input to play it, godot_game_time to pause or step frames, godot_game_screenshot to look. Breakpoints: godot_debug_* (process runs).\nSeveral edits to one scene: godot_batch_apply (all-or-nothing, one undo step). Unsure about a Godot class or method: godot_docs_search / godot_docs_class (offline docs for the installed Godot) instead of guessing. GDScript errors and symbols: godot_code_diagnostics, godot_code_lookup.","protocolVersion":"2025-11-25","serverInfo":{"name":"godot-mcp","version":"0.1.2"}}}}
{"at":"2026-11-23T02:59:00.062Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T02:59:00.062Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T02:59:00.119Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"_meta":{"anthropic/alwaysLoad":true},"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot status: call this first. Shows the project, whether the live editor is connected (open scenes, unsaved changes, playing state), the Godot executable found, and running games.","inputSchema":{"properties":{},"type":"object"},"name":"godot_status","title":"Status"},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false},"description":"Godot addon: install or update addons/godot_mcp (the editor bridge and game runtime this server needs) from the copy bundled with the server, and enable it in project.godot.","inputSchema":{"properties":{},"type":"object"},"name":"godot_addon_install","title":"Install the editor addon"},{"_meta":{"anthropic/alwaysLoad":true},"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot project facts from project.godot: name, Godot version, main scene, autoloads, input action names, renderer, enabled plugins, C# and test framework detection.","inputSchema":{"properties":{},"type":"object"},"name":"godot_project_info","title":"Project info"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot project settings: read raw values from project.godot, filtered by key prefix (e.g. \"display/window\", \"input/jump\"). Only non-default values are stored in the file.","inputSchema":{"properties":{"limit":{"default":200,"maximum":1000,"minimum":1,"type":"integer"},"prefix":{"description":"Key prefix such as \"application\" or \"input/\". Omit to list all keys.","type":"string"}},"type":"object"},"name":"godot_project_settings","title":"Read project settings"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot files: list a project folder (res://...). Skips .godot/ and .git/; hides .uid/.import sidecars and, when recursive, addons/ contents unless all. Use recursive with a glob-like \"pattern\" (e.g. \"*.tscn\") to find files by type.","inputSchema":{"properties":{"all":{"default":false,"type":"boolean"},"max":{"default":500,"maximum":5000,"minimum":1,"type":"integer"},"path":{"default":"res://","description":"Folder to list, e.g. \"res://scenes\".","type":"string"},"pattern":{"description":"Filter file names, e.g. \"*.gd\" or \"*player*\".","type":"string"},"recursive":{"default":false,"type":"boolean"}},"type":"object"},"name":"godot_files_list","title":"List files"},{"_meta":{"anthropic/alwaysLoad":true},"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot files: read a text file (script, scene .tscn, resource .tres, shader, config) with line numbers. Use offset/limit for long files.","inputSchema":{"properties":{"limit":{"default":1000,"description":"Maximum number of lines.","maximum":5000,"minimum":1,"type":"integer"},"offset":{"default":1,"description":"First line to return (1-based).","minimum":1,"type":"integer"},"path":{"description":"File path, e.g. \"res://player.gd\".","type":"string"}},"required":["path"],"type":"object"},"name":"godot_files_read","title":"Read file"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot files: search text across project files (scripts, scenes, resources, shaders). Literal by default; set regex for a regular expression.","inputSchema":{"properties":{"case_sensitive":{"default":false,"type":"boolean"},"max_results":{"default":100,"maximum":1000,"minimum":1,"type":"integer"},"path":{"default":"res://","description":"Folder to search in.","type":"string"},"pattern":{"description":"Only files whose name matches, e.g. \"*.gd\".","type":"string"},"query":{"minLength":1,"type":"string"},"regex":{"default":false,"type":"boolean"}},"required":["query"],"type":"object"},"name":"godot_files_search","title":"Search files"},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false},"description":"Godot files: create or overwrite a text file (e.g. a .gd script or .gdshader). GDScript files are then checked for parse and type errors (as godot_script_validate). Prefer godot_files_edit for small changes to existing files.","inputSchema":{"properties":{"content":{"type":"string"},"overwrite":{"default":true,"description":"Set false to fail instead of replacing an existing file.","type":"boolean"},"path":{"description":"File path, e.g. \"res://scripts/enemy.gd\".","type":"string"}},"required":["path","content"],"type":"object"},"name":"godot_files_write","title":"Write file"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot files: replace an exact snippet in a text file (old_text -> new_text). old_text must match exactly once unless replace_all. GDScript files are then checked for parse and type errors (as godot_script_validate).","inputSchema":{"properties":{"new_text":{"type":"string"},"old_text":{"description":"Exact text to find, including indentation (tabs vs spaces matter in GDScript).","minLength":1,"type":"string"},"path":{"type":"string"},"replace_all":{"default":false,"type":"boolean"}},"required":["path","old_text","new_text"],"type":"object"},"name":"godot_files_edit","title":"Edit file"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot files: move or rename a file or folder, carrying its .uid/.import sidecar files. References by uid:// keep working; plain res:// references in other files are NOT updated.","inputSchema":{"properties":{"from":{"type":"string"},"to":{"type":"string"}},"required":["from","to"],"type":"object"},"name":"godot_files_move","title":"Move or rename file"},{"annotations":{"destructiveHint":true,"openWorldHint":false},"description":"Godot files: delete a file (and its .uid/.import sidecars). Deleting a folder requires recursive: true. This cannot be undone.","inputSchema":{"properties":{"path":{"type":"string"},"recursive":{"default":false,"type":"boolean"}},"required":["path"],"type":"object"},"name":"godot_files_delete","title":"Delete file"},{"_meta":{"anthropic/alwaysLoad":true},"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot scene: show the node tree (names, types, scripts, instanced sub-scenes) of a scene. Use depth/max_nodes to keep large scenes small; start from a subtree with root.","inputSchema":{"properties":{"depth":{"default":4,"maximum":50,"minimum":0,"type":"integer"},"max_nodes":{"default":300,"maximum":2000,"minimum":1,"type":"integer"},"root":{"description":"Start from this node path instead of the scene root. An instanced sub-scene lists its own (hidden_children) nodes.","type":"string"},"scene":{"description":"Scene file, e.g. \"res://main.tscn\". Defaults to the scene open in the editor; required when the editor is closed.","type":"string"}},"type":"object"},"name":"godot_scene_tree","title":"Scene tree"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot scene: create a new .tscn file with a root node of the given type (e.g. Node2D, Node3D, Control, CharacterBody2D).","inputSchema":{"properties":{"open":{"default":true,"description":"Open it in the editor afterwards (editor only).","type":"boolean"},"path":{"description":"New scene file, e.g. \"res://levels/level_1.tscn\".","type":"string"},"root_name":{"description":"Defaults to the file name in PascalCase.","type":"string"},"root_type":{"default":"Node2D","type":"string"}},"required":["path"],"type":"object"},"name":"godot_scene_create","title":"Create scene"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot scene: open a scene in the editor so later node operations target it.","inputSchema":{"properties":{"path":{"type":"string"}},"required":["path"],"type":"object"},"name":"godot_scene_open","title":"Open scene"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot scene: save the edited scene in the editor (headless edits are saved automatically).","inputSchema":{"properties":{"path":{"description":"An open scene to save; defaults to the edited scene.","type":"string"}},"type":"object"},"name":"godot_scene_save","title":"Save scene"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot scene: save the edited scene under a new path (editor only).","inputSchema":{"properties":{"path":{"type":"string"}},"required":["path"],"type":"object"},"name":"godot_scene_save_as","title":"Save scene as"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot node: read a node's type, script, non-default property values and connected signals. Pass properties to read only some.","inputSchema":{"properties":{"path":{"description":"Node path relative to the scene root (\".\" is the root), e.g. \"Player/Sprite2D\".","type":"string"},"properties":{"description":"Only these, e.g. [\"position\", \"visible\"]; [\"*\"] = all incl. defaults (default: non-default values only).","items":{"type":"string"},"type":"array"},"scene":{"description":"Scene file, e.g. \"res://main.tscn\". Defaults to the scene open in the editor; required when the editor is closed.","type":"string"}},"required":["path"],"type":"object"},"name":"godot_node_get","title":"Get node"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot node: add a node of a built-in type (e.g. Sprite2D, CollisionShape2D, Label) or an instance of a .tscn scene, with optional initial properties. Undoable in the editor.","inputSchema":{"properties":{"index":{"description":"Child position; omit to append.","type":"integer"},"instance":{"description":"Scene to instance, e.g. \"res://enemy.tscn\".","type":"string"},"name":{"type":"string"},"parent":{"default":".","description":"Parent node path; \".\" for the scene root.","type":"string"},"properties":{"description":"Property values. Godot types accept literals (\"Vector2(10, 20)\"), arrays ([10, 20]), \"#ff0000\" colors, \"res://\" paths to load resources, or {\"new\": \"CircleShape2D\", \"properties\": {...}}.","type":"object"},"scene":{"description":"Scene file, e.g. \"res://main.tscn\". Defaults to the scene open in the editor; required when the editor is closed.","type":"string"},"type":{"description":"Node class, e.g. \"Sprite2D\". Give type or instance.","type":"string"}},"type":"object"},"name":"godot_node_add","title":"Add node"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot node: set one or more properties on a node (position, texture, shape, modulate, ...). Returns the values read back. Undoable in the editor.","inputSchema":{"properties":{"path":{"description":"Node path relative to the scene root (\".\" is the root), e.g. \"Player/Sprite2D\".","type":"string"},"properties":{"description":"Property values. Godot types accept literals (\"Vector2(10, 20)\"), arrays ([10, 20]), \"#ff0000\" colors, \"res://\" paths to load resources, or {\"new\": \"CircleShape2D\", \"properties\": {...}}.","type":"object"},"scene":{"description":"Scene file, e.g. \"res://main.tscn\". Defaults to the scene open in the editor; required when the editor is closed.","type":"string"}},"required":["path","properties"],"type":"object"},"name":"godot_node_set","title":"Set node properties"},{"annotations":{"destructiveHint":true,"openWorldHint":false},"description":"Godot node: delete a node and its children from the scene. Undoable in the editor; permanent when headless.","inputSchema":{"properties":{"path":{"description":"Node path relative to the scene root (\".\" is the root), e.g. \"Player/Sprite2D\".","type":"string"},"scene":{"description":"Scene file, e.g. \"res://main.tscn\". Defaults to the scene open in the editor; required when the editor is closed.","type":"string"}},"required":["path"],"type":"object"},"name":"godot_node_remove","title":"Remove node"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot node: rename a node. Note: scripts or NodePaths that refer to the old name are not updated.","inputSchema":{"properties":{"name":{"type":"string"},"path":{"description":"Node path relative to the scene root (\".\" is the root), e.g. \"Player/Sprite2D\".","type":"string"},"scene":{"description":"Scene file, e.g. \"res://main.tscn\". Defaults to the scene open in the editor; required when the editor is closed.","type":"string"}},"required":["path","name"],"type":"object"},"name":"godot_node_rename","title":"Rename node"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot node: move a node under a different parent (and/or to a child index), keeping its global transform by default.","inputSchema":{"properties":{"index":{"type":"integer"},"keep_global_transform":{"default":true,"type":"boolean"},"new_parent":{"description":"New parent path; \".\" for the root.","type":"string"},"path":{"description":"Node path relative to the scene root (\".\" is the root), e.g. \"Player/Sprite2D\".","type":"string"},"scene":{"description":"Scene file, e.g. \"res://main.tscn\". Defaults to the scene open in the editor; required when the editor is closed.","type":"string"}},"required":["path","new_parent"],"type":"object"},"name":"godot_node_reparent","title":"Move node"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot node: duplicate a node (with children, script and properties) next to the original.","inputSchema":{"properties":{"name":{"type":"string"},"path":{"description":"Node path relative to the scene root (\".\" is the root), e.g. \"Player/Sprite2D\".","type":"string"},"scene":{"description":"Scene file, e.g. \"res://main.tscn\". Defaults to the scene open in the editor; required when the editor is closed.","type":"string"}},"required":["path"],"type":"object"},"name":"godot_node_duplicate","title":"Duplicate node"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot script: attach a .gd (or .cs) script to a node, or detach with script: null. Create the file first with godot_files_write.","inputSchema":{"properties":{"path":{"description":"Node path relative to the scene root (\".\" is the root), e.g. \"Player/Sprite2D\".","type":"string"},"scene":{"description":"Scene file, e.g. \"res://main.tscn\". Defaults to the scene open in the editor; required when the editor is closed.","type":"string"},"script":{"type":["string","null"]}},"required":["path","script"],"type":"object"},"name":"godot_script_attach","title":"Attach script"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot script: check GDScript for parse/type errors without running the game. Pass a file path, or source text to check before writing.","inputSchema":{"properties":{"path":{"description":"Script file, e.g. \"res://player.gd\".","type":"string"},"source":{"description":"GDScript source to check instead of (or as if it were at) path.","type":"string"}},"type":"object"},"name":"godot_script_validate","title":"Validate GDScript"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot run: start the game (main scene, the current scene, or a given scene). Returns a run_id; read errors and prints with godot_run_output, stop with godot_run_stop.","inputSchema":{"properties":{"break_on_errors":{"description":"Process mode: stop at script errors like the editor does (default false: errors are recorded, the game keeps running).","type":"boolean"},"breakpoints":{"description":"Process mode: breakpoints set before the first frame, e.g. [\"res://player.gd:42\"]. Inspect with godot_debug_state.","items":{"type":"string"},"type":"array"},"headless":{"description":"Process mode only: no window. Defaults to true when no display is available.","type":"boolean"},"mode":{"default":"auto","enum":["auto","editor","process"],"type":"string"},"quit_after_frames":{"description":"Process mode only: quit automatically after N frames (handy for smoke tests).","minimum":1,"type":"integer"},"scene":{"description":"\"main\" (default), \"current\" (editor only), or a scene path like \"res://levels/test.tscn\".","type":"string"},"write_movie":{"description":"Process mode: record frames to this file with Godot's Movie Maker (.avi, or .png for an image sequence), e.g. \"user://capture.avi\". Needs a window.","type":"string"}},"type":"object"},"name":"godot_run_start","title":"Run game"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot run: stop a running game (the given run_id, the latest process run, or the game playing in the editor).","inputSchema":{"properties":{"run_id":{"type":"string"}},"type":"object"},"name":"godot_run_stop","title":"Stop game"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot run: read output and errors of a game started with godot_run_start (process or editor mode). Use level \"error\" to see only errors, and \"since\" (the \"next\" value from the last call) to page.","inputSchema":{"properties":{"errors":{"description":"Script errors with backtraces instead of lines (repeats merged).","type":"boolean"},"level":{"default":"all","enum":["all","warning","error"],"type":"string"},"limit":{"default":200,"maximum":2000,"minimum":1,"type":"integer"},"run_id":{"description":"Default: the running game (latest run). \"editor\" for the editor's.","type":"string"},"since":{"default":0,"minimum":0,"type":"integer"}},"type":"object"},"name":"godot_run_output","title":"Game output"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot editor: read messages, warnings and errors printed by the editor process (plugin and tool scripts, import errors; not a running game's prints). Repeats are merged with a count. Page with \"since\".","inputSchema":{"properties":{"level":{"default":"all","enum":["all","warning","error"],"type":"string"},"limit":{"default":200,"maximum":2000,"minimum":1,"type":"integer"},"since":{"default":0,"minimum":0,"type":"integer"}},"type":"object"},"name":"godot_editor_logs","title":"Editor log"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot editor: open this project in the Godot editor and wait until the MCP plugin connects (the plugin must be enabled in the project).","inputSchema":{"properties":{"headless":{"default":false,"description":"Run the editor without a window (automation, CI).","type":"boolean"},"wait_seconds":{"default":60,"maximum":300,"minimum":0,"type":"integer"}},"type":"object"},"name":"godot_editor_launch","title":"Launch editor"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot node: instance a .tscn as a linked sub-scene under a parent, optionally with Editable Children. Undoable in the editor.","inputSchema":{"properties":{"editable_children":{"type":"boolean"},"index":{"type":"integer"},"instance":{"description":"e.g. \"res://enemy.tscn\"","type":"string"},"name":{"type":"string"},"parent":{"default":".","type":"string"},"properties":{"type":"object"},"scene":{"description":"Scene file; defaults to the edited scene, required without the editor.","type":"string"}},"required":["instance"],"type":"object"},"name":"godot_node_instance","title":"Instance scene"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot node: find nodes in a scene by name (glob/substring), type (incl. subclasses), group, script or property value.","inputSchema":{"properties":{"group":{"type":"string"},"limit":{"default":100,"type":"integer"},"name":{"description":"Substring or glob (*, ?).","type":"string"},"property":{"type":"string"},"root":{"description":"Search under this node.","type":"string"},"scene":{"description":"Scene file; defaults to the edited scene, required without the editor.","type":"string"},"script":{"type":"string"},"type":{"type":"string"},"value":{"description":"Required property value."}},"type":"object"},"name":"godot_node_find","title":"Find nodes"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot node: move a node to another position among its siblings (draw/process order). Undoable in the editor.","inputSchema":{"properties":{"index":{"description":"New index; negative counts from the end (-1 = last).","type":"integer"},"path":{"description":"Node path from the scene root (\".\" = root).","type":"string"},"scene":{"description":"Scene file; defaults to the edited scene, required without the editor.","type":"string"}},"required":["path","index"],"type":"object"},"name":"godot_node_move","title":"Reorder node"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot node: add or remove a node's groups (saved in the scene). Undoable in the editor.","inputSchema":{"properties":{"add":{"items":{"type":"string"},"type":"array"},"path":{"description":"Node path from the scene root (\".\" = root).","type":"string"},"remove":{"items":{"type":"string"},"type":"array"},"scene":{"description":"Scene file; defaults to the edited scene, required without the editor.","type":"string"}},"required":["path"],"type":"object"},"name":"godot_node_groups","title":"Edit node groups"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot scene: create a new scene file that inherits a base scene (like \"New Inherited Scene\"); opens it in the editor.","inputSchema":{"properties":{"base":{"description":"Base scene, e.g. \"res://enemy.tscn\".","type":"string"},"open":{"default":true,"type":"boolean"},"path":{"description":"New .tscn path.","type":"string"},"root_name":{"description":"Defaults to the file name in PascalCase.","type":"string"}},"required":["path","base"],"type":"object"},"name":"godot_scene_inherit","title":"New inherited scene"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot scene: close a scene tab in the editor. Refuses unsaved changes unless save or discard is true.","inputSchema":{"properties":{"discard":{"description":"Drop unsaved changes.","type":"boolean"},"path":{"description":"Open scene; defaults to the edited one.","type":"string"},"save":{"type":"boolean"}},"type":"object"},"name":"godot_scene_close","title":"Close scene tab"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot scene: apply up to 100 scene edits (node.add, node.set, signal.connect, ...) to one scene in order, all-or-nothing; one undo step in the editor.","inputSchema":{"properties":{"ops":{"description":"Later ops see earlier ones (add a node, then set it).","items":{"properties":{"method":{"description":"e.g. \"node.add\"","type":"string"},"params":{"type":"object"}},"required":["method","params"],"type":"object"},"maxItems":100,"minItems":1,"type":"array"},"scene":{"description":"Scene file; defaults to the edited scene, required without the editor.","type":"string"}},"required":["ops"],"type":"object"},"name":"godot_batch_apply","title":"Batch scene edits"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot signal: list saved signal connections of a node or scene and flag problems (missing/mismatched handlers, unconnected _on_* methods).","inputSchema":{"properties":{"include_available":{"default":false,"description":"Also list all signals.","type":"boolean"},"path":{"description":"Default: root.","type":"string"},"recursive":{"default":true,"type":"boolean"},"scene":{"description":"Scene file; defaults to the edited scene, required without the editor.","type":"string"}},"type":"object"},"name":"godot_signal_list","title":"List signal connections"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot signal: connect a node's signal to a method (saved in the scene), optionally creating the handler stub in the target's script.","inputSchema":{"properties":{"binds":{"description":"Extra call args.","items":{},"type":"array"},"create_method":{"description":"Add a stub to the target .gd if missing.","type":"boolean"},"flags":{"items":{"enum":["deferred","one_shot"],"type":"string"},"type":"array"},"from":{"description":"Emitting node.","type":"string"},"method":{"description":"Default _on_<from>_<signal>.","type":"string"},"scene":{"description":"Scene file; defaults to the edited scene, required without the editor.","type":"string"},"signal":{"type":"string"},"to":{"default":".","type":"string"},"unbinds":{"description":"Drop N trailing signal args.","type":"integer"}},"required":["from","signal"],"type":"object"},"name":"godot_signal_connect","title":"Connect signal"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot signal: remove a saved signal connection from a scene. Undoable in the editor.","inputSchema":{"properties":{"from":{"type":"string"},"method":{"type":"string"},"scene":{"description":"Scene file; defaults to the edited scene, required without the editor.","type":"string"},"signal":{"type":"string"},"to":{"default":".","type":"string"}},"required":["from","signal","method"],"type":"object"},"name":"godot_signal_disconnect","title":"Disconnect signal"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot resource: read a .tres/.res/.gdshader (or uid://): class, uid, non-default properties, shader uniforms, theme items.","inputSchema":{"properties":{"depth":{"description":"Sub-resource expansion depth (default 1).","maximum":4,"minimum":0,"type":"integer"},"path":{"description":"res:// path or uid://.","type":"string"},"properties":{"description":"Only these (nested paths allowed).","items":{"type":"string"},"type":"array"}},"required":["path"],"type":"object"},"name":"godot_resource_read","title":"Read resource"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot resource: create a resource file of any Resource class (materials, Theme, Gradient, shapes...) or a .gdshader with code.","inputSchema":{"properties":{"code":{"description":"For .gdshader.","type":"string"},"overwrite":{"type":"boolean"},"path":{"description":"e.g. \"res://mats/red.tres\" or \"res://x.gdshader\".","type":"string"},"properties":{"description":"Values (\"#ff0000\", [x, y], \"res://...\", {\"new\": Class}). Keys may be nested (\"next_pass:albedo_color\") or Theme items (\"Button/colors/font_color\").","type":"object"},"type":{"description":"Resource class, e.g. \"StandardMaterial3D\".","type":"string"}},"required":["path"],"type":"object"},"name":"godot_resource_create","title":"Create resource"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot resource: set properties of an existing resource file and save it (undoable in the editor; open scenes update).","inputSchema":{"properties":{"path":{"description":"res:// path or uid://.","type":"string"},"properties":{"description":"Values (\"#ff0000\", [x, y], \"res://...\", {\"new\": Class}). Keys may be nested (\"next_pass:albedo_color\") or Theme items (\"Button/colors/font_color\").","type":"object"}},"required":["path","properties"],"type":"object"},"name":"godot_resource_set","title":"Set resource properties"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot resource: list a file's dependencies (missing ones flagged), optionally the files that use it; resolves uid:// paths.","inputSchema":{"properties":{"dependents":{"description":"Also scan the project for files referencing it.","type":"boolean"},"limit":{"description":"Max dependents (default 100).","maximum":1000,"minimum":1,"type":"integer"},"path":{"description":"res:// path or uid://.","type":"string"}},"required":["path"],"type":"object"},"name":"godot_resource_deps","title":"Resource dependencies"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot visual: edit or create a VisualShader .tres with ordered node ops (add, connect, set...).","inputSchema":{"properties":{"create":{"type":"boolean"},"mode":{"description":"For create.","enum":["spatial","canvas_item","particles","sky","fog"],"type":"string"},"ops":{"items":{"properties":{"from":{"type":"integer"},"from_port":{"anyOf":[{"type":"integer"},{"type":"string"}],"description":"Or a vector component: \"0.a\"."},"id":{"description":"0 = Output; new ids >= 2.","type":"integer"},"inputs":{"description":"Port defaults {\"1\": 2.0}.","type":"object"},"op":{"enum":["add_node","connect","disconnect","remove_node","set"],"type":"string"},"position":{"items":{"type":"number"},"type":"array"},"properties":{"description":"Enums by name ok.","type":"object"},"shader_type":{"type":"string"},"to":{"type":"integer"},"to_port":{"anyOf":[{"type":"integer"},{"type":"string"}],"description":"Or Output port name (\"albedo\")."},"type":{"description":"Node class, e.g. \"ColorConstant\".","type":"string"}},"required":["op"],"type":"object"},"type":"array"},"path":{"type":"string"},"shader_type":{"description":"e.g. vertex, fragment, light, process.","type":"string"}},"required":["path","ops"],"type":"object"},"name":"godot_visual_shader_graph","title":"Edit visual shader"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot visual: list a VisualShader's nodes (id, class, properties) and connections per shader type.","inputSchema":{"properties":{"path":{"type":"string"},"shader_type":{"description":"e.g. vertex, fragment, light, process.","type":"string"}},"required":["path"],"type":"object"},"name":"godot_visual_shader_graph_read","title":"Read visual shader"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot visual: apply a Control layout preset, anchors/offsets, size flags or minimum size. Undoable.","inputSchema":{"properties":{"anchors":{"description":"[left, top, right, bottom]","items":{"type":"number"},"type":"array"},"custom_minimum_size":{"description":"[w, h]","items":{"type":"number"},"type":"array"},"margin":{"type":"integer"},"offsets":{"description":"[left, top, right, bottom]","items":{"type":"number"},"type":"array"},"path":{"description":"Control node path.","type":"string"},"preset":{"description":"e.g. full_rect, center, top_wide.","type":"string"},"resize_mode":{"enum":["minsize","keep_width","keep_height","keep_size"],"type":"string"},"scene":{"type":"string"},"size_flags":{"description":"{horizontal, vertical}: \"fill\", \"expand_fill\"...","type":"object"}},"required":["path"],"type":"object"},"name":"godot_visual_layout","title":"Control layout"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot visual: compile shader code or a .gdshader/VisualShader file and report errors with line numbers.","inputSchema":{"properties":{"code":{"description":"Shader source (wins over path).","type":"string"},"path":{"type":"string"}},"type":"object"},"name":"godot_visual_shader_check","title":"Check shader"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot animation: list an AnimationPlayer's libraries and animations, or with animation the tracks and keys of one. Pass library (a .tres) instead of a scene player to read an AnimationLibrary file.","inputSchema":{"properties":{"animation":{"description":"\"name\" or \"library/name\": include its tracks.","type":"string"},"library":{"description":"AnimationLibrary .tres instead of a player.","type":"string"},"max_keys":{"description":"Keys per track (default 50).","type":"number"},"player":{"description":"AnimationPlayer path; optional if the scene has one.","type":"string"},"scene":{"description":"Scene; required headless.","type":"string"}},"type":"object"},"name":"godot_anim_read","title":"Read animations"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot animation: create/remove/rename animations and add tracks and keys on an AnimationPlayer. ops run in order as one undo step; track paths are \"Node:property\" relative to the player's root_node.","inputSchema":{"properties":{"allow_missing":{"description":"Skip existence checks.","type":"boolean"},"animation":{"description":"Default animation for ops that omit it.","type":"string"},"ops":{"items":{"properties":{"animation":{"description":"\"walk\" or \"library/walk\".","type":"string"},"interpolation":{"enum":["nearest","linear","cubic","linear_angle","cubic_angle"],"type":"string"},"key":{"type":"number"},"length":{"type":"number"},"loop":{"enum":["none","linear","pingpong"],"type":"string"},"op":{"enum":["create","remove","rename","set","add_track","remove_track","insert_key","remove_key"],"type":"string"},"path":{"description":"add_track: e.g. \"Sprite2D:modulate\".","type":"string"},"step":{"type":"number"},"time":{"type":"number"},"to":{"type":"string"},"track":{"description":"Track index or path.","type":["number","string"]},"transition":{"description":"Easing (1 = linear).","type":"number"},"type":{"description":"Track type (default value).","enum":["value","position_3d","rotation_3d","scale_3d","blend_shape","method","bezier","audio","animation"],"type":"string"},"update_mode":{"enum":["continuous","discrete","capture"],"type":"string"},"value":{"description":"Typed like the property; method: {method,args}; rotation_3d: [x,y,z] deg."}},"required":["op"],"type":"object"},"type":"array"},"player":{"description":"AnimationPlayer path; optional if the scene has one.","type":"string"},"scene":{"description":"Scene; required headless.","type":"string"}},"required":["ops"],"type":"object"},"name":"godot_anim_edit","title":"Edit animations"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot animation: show an AnimationTree's graph (states, transitions, blend points, blend tree nodes) and its parameters.","inputSchema":{"properties":{"parameters":{"type":"boolean"},"scene":{"description":"Scene; required headless.","type":"string"},"tree":{"description":"AnimationTree path; optional if the scene has one.","type":"string"}},"type":"object"},"name":"godot_anim_tree_read","title":"Read AnimationTree"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot animation: build an AnimationTree state machine, blend space or blend tree (states, transitions, start/end, blend points). ops run in order as one undo step.","inputSchema":{"properties":{"allow_missing":{"description":"Skip existence checks.","type":"boolean"},"nested":{"description":"Edit a nested graph, e.g. \"Locomotion\".","type":"string"},"ops":{"items":{"properties":{"advance_condition":{"type":"string"},"advance_expression":{"type":"string"},"advance_mode":{"enum":["disabled","enabled","auto"],"type":"string"},"animation":{"type":"string"},"from":{"type":"string"},"index":{"description":"Point index or input port.","type":"number"},"name":{"description":"State, node or blend point name.","type":"string"},"op":{"enum":["set_root","add_state","remove_state","rename_state","add_transition","remove_transition","set_start","set_end","add_blend_point","remove_blend_point","set"],"type":"string"},"position":{"anyOf":[{"type":"number"},{"items":{"type":"number"},"type":"array"}],"description":"Number (1D) or [x, y]."},"properties":{"type":"object"},"switch_mode":{"enum":["immediate","sync","at_end"],"type":"string"},"to":{"type":"string"},"type":{"description":"state_machine, blend_space_1d|2d, blend_tree, or AnimationNode class.","type":"string"},"xfade_time":{"type":"number"}},"required":["op"],"type":"object"},"type":"array"},"scene":{"description":"Scene; required headless.","type":"string"},"tree":{"description":"AnimationTree path; optional if the scene has one.","type":"string"}},"required":["ops"],"type":"object"},"name":"godot_anim_tree","title":"Edit AnimationTree"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot animation: read or edit the SpriteFrames of an AnimatedSprite2D/3D (or a .tres): add/rename/remove animations, speed/loop, frames cut from a sprite sheet. No ops = summary.","inputSchema":{"properties":{"node":{"description":"AnimatedSprite2D/3D; optional if the scene has one.","type":"string"},"ops":{"items":{"properties":{"animation":{"type":"string"},"cells":{"description":"Row-major indices or [col, row].","items":{},"type":"array"},"count":{"type":"number"},"duration":{"description":"Relative frame length (1).","type":"number"},"frame_size":{"description":"[w, h] instead of h/vframes.","items":{"type":"number"},"type":"array"},"hframes":{"type":"number"},"loop":{"type":"boolean"},"op":{"enum":["add","remove","rename","set","add_frames","clear"],"type":"string"},"speed":{"description":"FPS.","type":"number"},"start":{"type":"number"},"texture":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}],"description":"Sheet to cut, or whole texture(s). add takes frames too."},"to":{"type":"string"},"vframes":{"type":"number"}},"required":["op","animation"],"type":"object"},"type":"array"},"path":{"description":"SpriteFrames .tres instead of a node.","type":"string"},"scene":{"description":"Scene; required headless.","type":"string"}},"type":"object"},"name":"godot_anim_frames","title":"Edit SpriteFrames"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot world: read a TileMapLayer/GridMap: cells, bounds and the TileSet tiles/terrains or MeshLibrary items to paint with.","inputSchema":{"properties":{"limit":{"default":500,"maximum":10000,"minimum":1,"type":"integer"},"path":{"type":"string"},"region":{"additionalProperties":{"type":"number"},"description":"{x,y,w,h}; GridMap +z,d","type":"object"},"scene":{"description":"Scene; default edited one (required headless)","type":"string"},"summary_only":{"default":false,"type":"boolean"}},"required":["path"],"type":"object"},"name":"godot_grid_read","title":"Read tile/grid map"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot world: paint a TileMapLayer/GridMap with ordered ops (set, erase, fill_rect, terrain; clear wipes all cells). One undo step.","inputSchema":{"properties":{"ops":{"description":"set/erase/terrain take cells and/or rect. Max 10000 cells.","items":{"properties":{"alt":{"type":"number"},"atlas":{"items":{"type":"number"},"type":"array"},"cells":{"description":"[[x,y]...]; GridMap [[x,y,z]...]","items":{"items":{"type":"number"},"type":"array"},"type":"array"},"item":{"type":"number"},"mode":{"enum":["connect","path"],"type":"string"},"op":{"enum":["set","erase","fill_rect","clear","terrain"],"type":"string"},"orientation":{"description":"0-23; Y 90/180/270=16/10/22","type":"number"},"rect":{"additionalProperties":{"type":"number"},"description":"{x,y,w,h}; GridMap +z,d","type":"object"},"source":{"type":"number"},"terrain":{"type":["number","string"]},"terrain_set":{"type":"number"}},"required":["op"],"type":"object"},"minItems":1,"type":"array"},"path":{"type":"string"},"scene":{"description":"Scene; default edited one (required headless)","type":"string"}},"required":["path","ops"],"type":"object"},"name":"godot_grid_edit","title":"Edit tile/grid map"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot world: create/edit a TileSet .tres: atlas sources, collision (one-way), navigation, occlusion, terrains, custom data, per-tile values, alternative tiles, animation. Saved at once.","inputSchema":{"properties":{"create":{"default":false,"type":"boolean"},"ops":{"default":[],"items":{"properties":{"alt":{"description":"Alternative id; default all","type":"number"},"collision_layer":{"type":"number"},"collision_mask":{"type":"number"},"color":{"anyOf":[{"type":"string"},{"items":{"type":"number"},"type":"array"}]},"columns":{"type":"number"},"create_tiles":{"enum":["opaque","all","none"],"type":"string"},"duration":{"anyOf":[{"type":"number"},{"items":{"type":"number"},"type":"array"}],"description":"Seconds, per frame or list"},"frames":{"type":"number"},"layer":{"description":"Nav/occlusion layer; default 0","type":"number"},"layers":{"type":"number"},"light_mask":{"type":"number"},"margins":{"items":{"type":"number"},"type":"array"},"mode":{"enum":["corners_and_sides","corners","sides","default","random_start_times"],"type":"string"},"name":{"type":"string"},"one_way":{"type":"boolean"},"one_way_margin":{"type":"number"},"op":{"enum":["add_atlas","remove_source","add_physics_layer","set_collision","add_navigation_layer","set_navigation","add_occlusion_layer","set_occluder","add_terrain_set","add_terrain","set_terrain","add_custom_data","set_tile_data","add_alternative","set_animation"],"type":"string"},"peering":{"additionalProperties":{"type":"number"},"description":"{\"right_side\":0} or {\"all\":0}","type":"object"},"physics_layer":{"type":"number"},"polygon":{"description":"Px from tile center; default full tile; [] removes","items":{"items":{"type":"number"},"type":"array"},"type":"array"},"sdf_collision":{"type":"boolean"},"separation":{"items":{"type":"number"},"type":"array"},"source":{"type":"number"},"speed":{"type":"number"},"terrain":{"type":"number"},"terrain_set":{"type":"number"},"texture":{"type":"string"},"tile_size":{"items":{"type":"number"},"type":"array"},"tiles":{"description":"Atlas coords; default all","items":{"items":{"type":"number"},"type":"array"},"type":"array"},"type":{"type":"string"},"values":{"description":"Custom data by layer name, TileData props","type":"object"}},"required":["op"],"type":"object"},"type":"array"},"path":{"description":".tres path","type":"string"},"tile_size":{"items":{"type":"number"},"type":"array"}},"required":["path"],"type":"object"},"name":"godot_tileset_edit","title":"Edit TileSet"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot world: bake a NavigationRegion2D/3D from its child colliders, meshes, GridMaps and TileMapLayers.","inputSchema":{"properties":{"agent_radius":{"type":"number"},"outline":{"description":"2D walkable polygon","items":{"items":{"type":"number"},"type":"array"},"type":"array"},"path":{"description":"Region; default the only one","type":"string"},"scene":{"description":"Scene; default edited one (required headless)","type":"string"}},"type":"object"},"name":"godot_navigation_bake","title":"Bake navigation"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot world: shortest path between two points over the scene's baked navigation regions.","inputSchema":{"properties":{"from":{"description":"[x,y] or [x,y,z]","items":{"type":"number"},"type":"array"},"layers":{"type":"number"},"optimize":{"default":true,"type":"boolean"},"path":{"type":"string"},"scene":{"description":"Scene; default edited one (required headless)","type":"string"},"to":{"items":{"type":"number"},"type":"array"}},"required":["from","to"],"type":"object"},"name":"godot_navigation_path","title":"Navigation path"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot audio: list the audio buses (volume, mute, solo, send) and their effects from the project's bus layout.","inputSchema":{"properties":{},"type":"object"},"name":"godot_audio_buses","title":"Read audio buses"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot audio: add, remove, rename, move and set buses (volume, mute, solo, send) and their effects; saves the bus layout.","inputSchema":{"properties":{"ops":{"items":{"properties":{"bus":{"description":"Bus name or index.","type":["string","number"]},"bypass_effects":{"type":"boolean"},"effect":{"description":"Effect index.","type":"number"},"enabled":{"type":"boolean"},"index":{"description":"New position.","type":"number"},"mute":{"type":"boolean"},"name":{"type":"string"},"op":{"enum":["add_bus","remove_bus","rename_bus","move_bus","set","add_effect","remove_effect","set_effect"],"type":"string"},"properties":{"type":"object"},"send":{"type":"string"},"solo":{"type":"boolean"},"type":{"description":"add_effect: e.g. \"AudioEffectReverb\".","type":"string"},"volume_db":{"type":"number"}},"required":["op"],"type":"object"},"type":"array"}},"required":["ops"],"type":"object"},"name":"godot_audio_edit","title":"Edit audio buses"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot project: change project settings (project.godot); null resets one to its default. Values are converted to each setting's type.","inputSchema":{"properties":{"create":{"description":"Allow adding settings that do not exist yet (custom settings).","type":"boolean"},"settings":{"description":"Setting -> value, e.g. {\"display/window/size/viewport_width\": 1280, \"application/run/main_scene\": \"res://main.tscn\"}.","type":"object"}},"required":["settings"],"type":"object"},"name":"godot_project_set","title":"Set project settings"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot project: edit the input map (actions and their key/mouse/gamepad bindings), applied in order and saved to project.godot.","inputSchema":{"properties":{"ops":{"items":{"properties":{"action":{"type":"string"},"deadzone":{"maximum":1,"minimum":0,"type":"number"},"event":{"anyOf":[{"type":"string"},{"type":"object"}],"description":"Key name (\"R\", \"Up\", \"Ctrl+S\"; always a physical key, i.e. layout position) or {type: key|mouse_button|joy_button|joy_axis, key, button (\"left\", \"a\"), axis (\"left_x\"), value (-1/1), physical (false: by keycode), ctrl, shift, alt, meta, device}."},"index":{"description":"remove_event: index of the binding.","minimum":0,"type":"integer"},"op":{"enum":["add_action","remove_action","add_event","remove_event","clear_events","set_deadzone"],"type":"string"}},"required":["op","action"],"type":"object"},"minItems":1,"type":"array"}},"required":["ops"],"type":"object"},"name":"godot_input_edit","title":"Edit input map"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot project: add, remove or reorder autoloads (global singletons loaded at startup).","inputSchema":{"properties":{"index":{"description":"Load position (0 = first); required for move.","minimum":0,"type":"integer"},"name":{"description":"Autoload name, e.g. \"GameState\".","type":"string"},"op":{"enum":["add","remove","move"],"type":"string"},"path":{"description":"add: script or scene, e.g. \"res://game_state.gd\".","type":"string"},"singleton":{"description":"Register as a global name (default true).","type":"boolean"}},"required":["op","name"],"type":"object"},"name":"godot_autoload_edit","title":"Edit autoloads"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot project: enable or disable editor plugins (addons) and list the available ones.","inputSchema":{"properties":{"disable":{"items":{"type":"string"},"type":"array"},"enable":{"description":"Plugin folder names under addons/ or plugin.cfg paths.","items":{"type":"string"},"type":"array"},"force":{"description":"Allow disabling godot_mcp itself.","type":"boolean"}},"type":"object"},"name":"godot_project_plugins","title":"Editor plugins"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot project: health check for missing dependencies, stale or duplicate UIDs, script compile errors, broken autoloads, main scene and plugins.","inputSchema":{"properties":{"addons":{"description":"Also check res://addons/ (skipped by default).","type":"boolean"},"deep":{"description":"Also load each scene/resource to catch load errors (slower).","type":"boolean"},"limit":{"description":"Max issues returned (default 200).","maximum":1000,"minimum":1,"type":"integer"},"offset":{"minimum":0,"type":"integer"},"path_prefix":{"description":"Only check files under this folder, e.g. \"res://levels\".","type":"string"},"scope":{"enum":["all","project","scenes","resources","scripts","uids"],"type":"string"}},"type":"object"},"name":"godot_project_validate","title":"Validate project"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot import: show an asset's importer, non-default options (full: all), uid and whether its imported files exist (imports new assets first).","inputSchema":{"properties":{"full":{"type":"boolean"},"path":{"description":"Imported asset, e.g. \"res://icon.svg\".","type":"string"}},"required":["path"],"type":"object"},"name":"godot_import_get","title":"Get import settings"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot import: change an asset's import options (or importer) and reimport it.","inputSchema":{"properties":{"importer":{"description":"Switch importer, e.g. \"image\", \"keep\".","type":"string"},"options":{"description":"Option keys from import.get (full), e.g. {\"compress/mode\": 2}.","type":"object"},"path":{"description":"Imported asset, e.g. \"res://icon.svg\".","type":"string"}},"required":["path"],"type":"object"},"name":"godot_import_set","title":"Change import settings"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot export: list export presets (platform, path, filters, options; secrets redacted) and whether export templates are installed.","inputSchema":{"properties":{"preset":{"anyOf":[{"type":"string"},{"minimum":0,"type":"integer"}],"description":"Show one preset with all its options."}},"type":"object"},"name":"godot_export_presets","title":"Export presets"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot export: change an export preset's fields/options, or create a preset, in export_presets.cfg.","inputSchema":{"properties":{"allow_new_keys":{"type":"boolean"},"allow_secrets":{"type":"boolean"},"create":{"properties":{"name":{"type":"string"},"platform":{"description":"\"Linux\", \"Windows Desktop\", \"Web\", ...","type":"string"}},"required":["name","platform"],"type":"object"},"preset":{"anyOf":[{"type":"string"},{"minimum":0,"type":"integer"}],"description":"Preset name or index."},"set":{"description":"e.g. {\"export_path\": \"build/game.exe\", \"binary_format/embed_pck\": true}.","type":"object"}},"type":"object"},"name":"godot_export_preset_set","title":"Edit export preset"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot export: build the game with an export preset (release, debug, pack-only .pck/.zip, or patch); long-running.","inputSchema":{"properties":{"allow_outside_project":{"description":"Allow an absolute output path outside the project.","type":"boolean"},"mode":{"default":"release","enum":["release","debug","pack","patch"],"type":"string"},"output":{"description":"Output file; default the preset's export_path. Relative = inside the project.","type":"string"},"patches":{"description":"patch: base .pck files (default: the preset's patches).","items":{"type":"string"},"type":"array"},"preset":{"description":"Preset name (see godot_export_presets).","type":"string"},"timeout_s":{"default":1800,"maximum":14400,"minimum":10,"type":"integer"}},"required":["preset"],"type":"object"},"name":"godot_export_run","title":"Export project"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot code: GDScript errors and warnings for .gd files or a folder, from the language server.","inputSchema":{"properties":{"paths":{"description":".gd files or folders (res://).","items":{"type":"string"},"minItems":1,"type":"array"}},"required":["paths"],"type":"object"},"name":"godot_code_diagnostics","title":"GDScript diagnostics"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot code: outline of a .gd file (funcs, signals, vars, consts, classes with lines), or find symbols by name with query.","inputSchema":{"properties":{"path":{"default":"res://","description":".gd file to outline, or folder to search with query.","type":"string"},"query":{"description":"Name substring to search for across scripts.","type":"string"}},"type":"object"},"name":"godot_code_symbols","title":"GDScript symbols"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot code: hover docs, definition, references, signature, completion or highlights at a position in a .gd file.","inputSchema":{"properties":{"column":{"description":"1-based column; or give symbol.","minimum":1,"type":"integer"},"kind":{"default":"hover","enum":["hover","definition","references","signature","completion","highlight"],"type":"string"},"limit":{"default":30,"description":"Max completion items.","maximum":200,"minimum":1,"type":"integer"},"line":{"description":"1-based line.","minimum":1,"type":"integer"},"path":{"description":".gd file (res://).","type":"string"},"symbol":{"description":"Identifier text on that line (instead of column).","type":"string"}},"required":["path","line"],"type":"object"},"name":"godot_code_lookup","title":"GDScript lookup"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot code: rename a GDScript symbol across the project via the language server (skips comments/strings). dry_run previews.","inputSchema":{"properties":{"column":{"description":"1-based column; or give symbol.","minimum":1,"type":"integer"},"dry_run":{"default":false,"type":"boolean"},"include_comments":{"default":false,"description":"Also rename matches in comments/strings.","type":"boolean"},"line":{"description":"1-based line.","minimum":1,"type":"integer"},"new_name":{"description":"New identifier.","type":"string"},"path":{"description":".gd file (res://).","type":"string"},"symbol":{"description":"Identifier text on that line (instead of column).","type":"string"}},"required":["path","line","new_name"],"type":"object"},"name":"godot_code_rename","title":"Rename GDScript symbol"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot docs: search the offline class reference (engine + project classes) by class/member name or words.","inputSchema":{"properties":{"kind":{"enum":["class","method","property","signal","constant","enum","annotation","utility"],"type":"string"},"limit":{"default":20,"maximum":100,"minimum":1,"type":"integer"},"query":{"description":"e.g. \"move_and_slide\", \"Timer\", \"Node2D.rot\", \"play sound\".","minLength":1,"type":"string"}},"required":["query"],"type":"object"},"name":"godot_docs_search","title":"Search Godot docs"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot docs: class reference for an engine or project class, or one member (\"Class.member\"), as markdown.","inputSchema":{"properties":{"inherited":{"default":false,"description":"Also list inherited member names.","type":"boolean"},"max_chars":{"description":"Cap on the whole result; default 4000, 12000 with members/inherited.","maximum":50000,"minimum":200,"type":"integer"},"members":{"default":false,"description":"List members with one-line briefs.","type":"boolean"},"name":{"description":"e.g. \"CharacterBody2D\", \"Node.add_child\", \"@GDScript.preload\", a project class_name.","minLength":1,"type":"string"}},"required":["name"],"type":"object"},"name":"godot_docs_class","title":"Godot class docs"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot game: the running game's live nodes as a flat list (path, class, script, rect/pos, visible text). Filters list matches only; text \"Start\" finds the button to click.","inputSchema":{"properties":{"class":{"description":"Incl. subclasses.","type":"string"},"depth":{"minimum":0,"type":"integer"},"group":{"type":"string"},"max_nodes":{"description":"Default 150.","maximum":2000,"minimum":1,"type":"integer"},"name":{"description":"Name contains.","type":"string"},"root":{"description":"Default: current scene; \"/root\" adds autoloads.","type":"string"},"run_id":{"description":"Default: newest running game.","type":"string"},"text":{"description":"Visible text contains (Label, Button, LineEdit...).","type":"string"}},"type":"object"},"name":"godot_game_tree","title":"Live game tree"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot game: current values of a live node: script variables and non-default properties (or listed ones, \"prop:sub\" ok), groups; optionally signal connections and script methods.","inputSchema":{"properties":{"methods":{"type":"boolean"},"path":{"description":"Node path: relative to the current scene (default \".\") or /root/....","type":"string"},"properties":{"description":"Only these; \"get_x()\" calls a getter; [\"*\"] = all incl. defaults.","items":{"type":"string"},"type":"array"},"run_id":{"description":"Default: newest running game.","type":"string"},"signals":{"type":"boolean"}},"type":"object"},"name":"godot_game_get","title":"Read live node"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot game: change the running game with ops in order: set properties, call a method (returns its value, awaits coroutines), spawn, remove, change/reload scene. Stops at the first failing op; earlier ops stay (no undo, nothing saved).","inputSchema":{"properties":{"ops":{"items":{"properties":{"action":{"description":"set {path, properties} | call {path, method, args} | spawn {class or scene, parent, name, properties} | remove {path} | change_scene {scene; omit to reload}","enum":["set","call","spawn","remove","change_scene"],"type":"string"},"args":{"items":{},"type":"array"},"class":{"type":"string"},"method":{"type":"string"},"name":{"type":"string"},"parent":{"type":"string"},"path":{"description":"Node path: relative to the current scene (default \".\") or /root/....","type":"string"},"properties":{"description":"e.g. {\"position\": [10, 20]}","type":"object"},"scene":{"type":"string"}},"required":["action"],"type":"object"},"maxItems":50,"minItems":1,"type":"array"},"run_id":{"description":"Default: newest running game.","type":"string"}},"required":["ops"],"type":"object"},"name":"godot_game_edit","title":"Change live game"},{"annotations":{"destructiveHint":true,"openWorldHint":false},"description":"Godot game: evaluate code in the running game: an Expression with self = node (default; autoloads and singletons by name), or a GDScript body of func run(node, tree, inputs) (use return). Off unless the server runs with --allow-eval.","inputSchema":{"properties":{"code":{"type":"string"},"inputs":{"description":"Named values for the code.","type":"object"},"mode":{"enum":["expression","gdscript"],"type":"string"},"path":{"description":"Node path: relative to the current scene (default \".\") or /root/....","type":"string"},"run_id":{"description":"Default: newest running game.","type":"string"}},"required":["code"],"type":"object"},"name":"godot_game_eval","title":"Evaluate code in game"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot game: send input steps in order (keys, actions, clicks on positions or nodes, drags, scroll, typing, joypad, touch, waits). Reports the Control and physics object under each click.","inputSchema":{"properties":{"run_id":{"description":"Default: newest game.","type":"string"},"steps":{"items":{"properties":{"action":{"description":"InputMap action.","type":"string"},"at":{"anyOf":[{"items":{"type":"number"},"maxItems":2,"minItems":2,"type":"array"},{"type":"string"}],"description":"[x,y] game (viewport) px, or node path (its center)."},"axis":{"description":"left_x/left_y/right_x/right_y/trigger_left/trigger_right","type":"string"},"button":{"description":"Mouse left/right/middle; scroll up/down/left/right; joypad a/b/x/y/start/dpad_up...","type":["string","number"]},"device":{"description":"Joypad / touch index.","type":"integer"},"double":{"type":"boolean"},"frames":{"minimum":0,"type":"integer"},"key":{"description":"\"Space\", \"A\", \"Left\", \"Escape\", \"Ctrl+S\"","type":"string"},"ms":{"description":"Hold, drag or wait time.","minimum":0,"type":"number"},"phase":{"enum":["tap","press","release"],"type":"string"},"steps":{"description":"Drag moves.","minimum":1,"type":"integer"},"text":{"description":"Typed into the focused control.","type":"string"},"to":{"anyOf":[{"items":{"type":"number"},"maxItems":2,"minItems":2,"type":"array"},{"type":"string"}],"description":"drag/touch end."},"type":{"enum":["key","action","move","click","drag","scroll","text","joy_button","joy_axis","touch","wait"],"type":"string"},"value":{"description":"Action strength, axis value, scroll clicks.","type":"number"}},"required":["type"],"type":"object"},"maxItems":200,"minItems":1,"type":"array"}},"required":["steps"],"type":"object"},"name":"godot_game_input","title":"Send input to game"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot game: pause/resume the whole game (Godot's suspend: no node processes; SceneTree.paused untouched), step frames or physics ticks, set speed, or wait for a node, signal, condition, frames or seconds.","inputSchema":{"properties":{"action":{"enum":["state","pause","resume","step","speed","wait_for"],"type":"string"},"condition":{"description":"Expression on node, e.g. \"position.x > 300\".","type":"string"},"frames":{"description":"step: frames to advance (default 1); wait_for: frames.","maximum":10000,"minimum":1,"type":"integer"},"node":{"description":"wait_for: node to appear; signal emitter; condition base.","type":"string"},"physics_ticks":{"description":"step: exactly N physics ticks instead.","maximum":300,"minimum":1,"type":"integer"},"run_id":{"description":"Default: newest game.","type":"string"},"scale":{"description":"speed: 1 = normal.","maximum":100,"minimum":0.01,"type":"number"},"seconds":{"description":"wait_for: game seconds.","minimum":0,"type":"number"},"signal":{"type":"string"},"timeout_ms":{"default":10000,"maximum":300000,"minimum":0,"type":"integer"}},"required":["action"],"type":"object"},"name":"godot_game_time","title":"Game time control"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot game: record the game's input events (real and injected) with timestamps, stop to get them as compact JSON (or save to a file), and replay them with the original timing.","inputSchema":{"properties":{"action":{"enum":["start","stop","replay"],"type":"string"},"path":{"description":"stop: save JSON here (user:// or res://); replay: load from here.","type":"string"},"recording":{"description":"replay: the object stop returned.","type":"object"},"run_id":{"description":"Default: newest game.","type":"string"},"speed":{"description":"replay speed (default 1).","maximum":100,"minimum":0.01,"type":"number"}},"required":["action"],"type":"object"},"name":"godot_game_record","title":"Record/replay game input"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot game: screenshot the running game (window, a node's viewport, or a region) or the editor's 2D/3D view, scaled down. Can save it and diff against a saved image.","inputSchema":{"properties":{"compare_to":{"description":"Saved image to diff with (full resolution; changed_rect in viewport px).","type":"string"},"format":{"default":"png","enum":["png","jpg"],"type":"string"},"max_size":{"default":768,"description":"Longest side, px.","maximum":4096,"minimum":16,"type":"integer"},"node":{"description":"Node to frame (crop to its screen rect), or a viewport.","type":"string"},"quality":{"description":"JPEG; default 0.85.","maximum":1,"minimum":0.01,"type":"number"},"region":{"description":"Crop, in image px (window px with stretch).","properties":{"h":{"minimum":1,"type":"integer"},"w":{"minimum":1,"type":"integer"},"x":{"type":"integer"},"y":{"type":"integer"}},"required":["x","y","w","h"],"type":"object"},"run_id":{"description":"Default: newest run, else the editor's game.","type":"string"},"save_to":{"description":"user:// or res:// .png/.jpg (full size).","type":"string"},"source":{"default":"game","enum":["game","editor_2d","editor_3d"],"type":"string"},"tolerance":{"default":16,"description":"Per-channel diff threshold.","maximum":255,"minimum":0,"type":"integer"}},"type":"object"},"name":"godot_game_screenshot","title":"Game screenshot"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot game: performance monitors of the running game (fps, frame times, memory, objects, draw calls...); optionally sample frames (stats, spikes) and profile script functions.","inputSchema":{"properties":{"monitors":{"description":"Full monitor snapshot. Default: only when no sample/profile is asked for.","type":"boolean"},"profile_scripts_seconds":{"description":"Top script functions by self time (process runs).","maximum":30,"minimum":0.5,"type":"number"},"run_id":{"description":"Default: newest run, else the editor's game.","type":"string"},"sample_seconds":{"description":"Record every frame: min/avg/p95/max, spikes.","maximum":30,"minimum":0.1,"type":"number"},"top":{"default":15,"description":"Functions to list.","maximum":50,"minimum":1,"type":"integer"}},"type":"object"},"name":"godot_game_perf","title":"Game performance"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot debug: is the game stopped (breakpoint, error, pause)? Call stack and variables (locals, members, globals) of a frame.","inputSchema":{"properties":{"expand":{"description":"Object variables to open, e.g. [\"self\",\"body\"].","items":{"type":"string"},"type":"array"},"frame":{"default":0,"description":"Frame for variables (0 = innermost).","minimum":0,"type":"integer"},"globals":{"default":false,"description":"Also globals (autoloads).","type":"boolean"},"run_id":{"description":"Default: newest process run.","type":"string"},"variables":{"default":true,"type":"boolean"},"wait":{"description":"Seconds to wait for a stop.","maximum":60,"minimum":0,"type":"number"}},"type":"object"},"name":"godot_debug_state","title":"Debug state"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot debug: continue, pause, step_into/over/out (returns the new location and locals), or evaluate an expression in a stopped game (process runs).","inputSchema":{"properties":{"action":{"enum":["continue","pause","step_into","step_over","step_out","evaluate"],"type":"string"},"expression":{"description":"evaluate: a Godot Expression; sees locals, self's members/methods, autoloads. Can have side effects.","type":"string"},"frame":{"default":0,"description":"evaluate: stack frame (0 = innermost).","minimum":0,"type":"integer"},"run_id":{"description":"Default: newest process run.","type":"string"},"wait":{"description":"Seconds to wait for the next stop (default 10; continue 0).","maximum":120,"minimum":0,"type":"number"}},"required":["action"],"type":"object"},"name":"godot_debug_control","title":"Debug control"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Godot debug: list, add, remove or clear breakpoints of a game started with godot_run_start (process mode), running or stopped.","inputSchema":{"properties":{"action":{"default":"list","enum":["list","add","remove","clear"],"type":"string"},"breakpoints":{"description":"\"res://player.gd:42\" or {file, line}.","items":{"anyOf":[{"type":"string"},{"properties":{"file":{"type":"string"},"line":{"type":"integer"}},"required":["file","line"],"type":"object"}]},"type":"array"},"run_id":{"description":"Default: newest process run.","type":"string"}},"type":"object"},"name":"godot_debug_breakpoints","title":"Breakpoints"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot test: run GUT or GdUnit4 tests headlessly (all, a folder, a file or one test name); returns totals and failures with file:line.","inputSchema":{"properties":{"framework":{"default":"auto","enum":["auto","gut","gdunit4"],"type":"string"},"path":{"description":"Test folder or .gd file; default all tests.","type":"string"},"test":{"description":"Test function name (or part of it).","type":"string"},"timeout_s":{"default":600,"maximum":3600,"minimum":10,"type":"integer"}},"type":"object"},"name":"godot_test_run","title":"Run tests"},{"annotations":{"destructiveHint":false,"openWorldHint":false},"description":"Godot editor: get/set the selected nodes, open a script at a line, save all scenes and scripts, or show a toast.","inputSchema":{"properties":{"action":{"enum":["get_selection","select","open_script","save_all","toast"],"type":"string"},"column":{"minimum":1,"type":"integer"},"line":{"minimum":1,"type":"integer"},"message":{"description":"toast text.","type":"string"},"paths":{"description":"select: node paths ([] clears).","items":{"type":"string"},"type":"array"},"scene":{"description":"select/get_selection: scene to open first.","type":"string"},"script":{"description":"open_script: res:// path.","type":"string"},"severity":{"enum":["info","warning","error"],"type":"string"}},"required":["action"],"type":"object"},"name":"godot_editor_ui","title":"Editor UI"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Godot tool catalog: search all available Godot operations by keyword (\"search\"), or get full parameter schemas for some (\"describe\").","inputSchema":{"properties":{"action":{"enum":["search","describe"],"type":"string"},"operations":{"description":"describe: operation names from search, e.g. [\"node.reparent\"].","items":{"type":"string"},"type":"array"},"query":{"description":"search: keywords, e.g. \"animation\" or \"delete node\". Empty: names only.","type":"string"}},"required":["action"],"type":"object"},"name":"godot_tools","title":"Find Godot operations"}]}}}
