Godot MCP
v1.0.0MCP server for full Godot 4.x engine control with 165 tools for AI-driven game development
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
launch_editor
Launch Godot editor for a specific project
| Parameter | Type | Description |
|---|---|---|
projectPath * | string | Godot project path |
run_project
Run the Godot project and capture output
| Parameter | Type | Description |
|---|---|---|
projectPath * | string | Godot project path |
scene | string | Optional: Specific scene to run |
get_debug_output
Get the current debug output and errors
stop_project
Stop the currently running Godot project
get_godot_version
Get the installed Godot version
list_projects
List Godot projects in a directory
| Parameter | Type | Description |
|---|---|---|
directory * | string | Directory to search for Godot projects |
recursive | boolean | Whether to search recursively (default: false) |
get_project_info
Retrieve metadata about a Godot project
| Parameter | Type | Description |
|---|---|---|
projectPath * | string | Godot project path |
create_scene
Create a new Godot scene file
| Parameter | Type | Description |
|---|---|---|
projectPath * | string | Godot project path |
scenePath * | string | Path where the scene file will be saved (relative to project) |
rootNodeType | string | Type of the root node (e.g., Node2D, Node3D) |
add_node
Add a node to an existing scene
| Parameter | Type | Description |
|---|---|---|
nodeName * | string | Name for the new node |
nodeType * | string | Type of node to add (e.g., Sprite2D, CollisionShape2D) |
projectPath * | string | Godot project path |
scenePath * | string | Scene file path (relative to project) |
parentNodePath | string | Path to the parent node (e.g., "root" or "root/Player") |
properties | object | Optional properties to set on the node |
load_sprite
Load a sprite into a Sprite2D node
| Parameter | Type | Description |
|---|---|---|
nodePath * | string | Path to the Sprite2D node (e.g., "root/Player/Sprite2D") |
projectPath * | string | Godot project path |
scenePath * | string | Scene file path (relative to project) |
texturePath * | string | Path to the texture file (relative to project) |
export_mesh_library
Export a scene as a MeshLibrary resource
| Parameter | Type | Description |
|---|---|---|
outputPath * | string | Path where the mesh library (.res) will be saved |
projectPath * | string | Godot project path |
scenePath * | string | Path to the scene file (.tscn) to export |
meshItemNames | array | Optional: Names of specific mesh items to include (defaults to all) |
save_scene
Save changes to a scene file
| Parameter | Type | Description |
|---|---|---|
projectPath * | string | Godot project path |
scenePath * | string | Scene file path (relative to project) |
newPath | string | Optional: New path to save the scene to (for creating variants) |
get_uid
Get the UID for a specific file in a Godot project (for Godot 4.4+)
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Path to the file (relative to project) for which to get the UID |
projectPath * | string | Godot project path |
update_project_uids
Update UID references by resaving resources (4.4+)
| Parameter | Type | Description |
|---|---|---|
projectPath * | string | Godot project path |
game_screenshot
Screenshot the running game (returns base64 PNG)
game_click
Click at a position in the running Godot game window
| Parameter | Type | Description |
|---|---|---|
x * | number | X coordinate to click |
y * | number | Y coordinate to click |
button | number | Mouse button (1=left, 2=right, 3=middle). Default: 1 |
game_key_press
Send a key press or input action to the running game
| Parameter | Type | Description |
|---|---|---|
action | string | Godot input action name (e.g. "move_forward", "ui_accept") |
key | string | Key name (e.g. "W", "Space", "Escape", "Enter") |
pressed | boolean | Press (true) or release (false). Default: true (auto-release) |
game_mouse_move
Move the mouse in the running Godot game
| Parameter | Type | Description |
|---|---|---|
x * | number | Absolute X position |
y * | number | Absolute Y position |
relative_x | number | Relative X movement |
relative_y | number | Relative Y movement |
game_get_ui
Get visible UI elements from the running game
game_get_scene_tree
Get scene tree structure of the running game
game_eval
Execute GDScript in the running game. Use "return" for values.
| Parameter | Type | Description |
|---|---|---|
code * | string | GDScript code to execute. Use "return" to return values. |
game_get_property
Get a property value from any node in the running game by its path
| Parameter | Type | Description |
|---|---|---|
nodePath * | string | Path to the node (e.g., "/root/Player", "/root/Main/Enemy") |
property * | string | Property name to get (e.g., "position", "health", "visible") |
game_set_property
Set a property on a node in the running game
| Parameter | Type | Description |
|---|---|---|
nodePath * | string | Path to the node |
property * | string | Property name to set |
value * | Value to set. Use objects for vectors/colors | |
typeHint | string | Optional type hint: "Vector2", "Vector3", "Color" |
game_call_method
Call a method on any node in the running game with optional arguments
| Parameter | Type | Description |
|---|---|---|
method * | string | Method name to call |
nodePath * | string | Path to the node |
args | array | Optional array of arguments to pass to the method |
game_get_node_info
Get node info: class, properties, signals, methods, children
| Parameter | Type | Description |
|---|---|---|
nodePath * | string | Path to the node (e.g., "/root/Player") |
game_instantiate_scene
Load a PackedScene and add it as a child of a node in the running game
| Parameter | Type | Description |
|---|---|---|
scenePath * | string | Resource path to the scene (e.g., "res://scenes/enemy.tscn") |
parentPath | string | Path to the parent node. Default: "/root" |
game_remove_node
Remove and free a node from the running game's scene tree
| Parameter | Type | Description |
|---|---|---|
nodePath * | string | Path to the node to remove |
game_change_scene
Switch to a different scene file in the running game
| Parameter | Type | Description |
|---|---|---|
scenePath * | string | Resource path to the scene (e.g., "res://scenes/levels/level2.tscn") |
game_pause
Pause or unpause the running game
| Parameter | Type | Description |
|---|---|---|
paused | boolean | True to pause, false to unpause. Default: true |
game_performance
Get performance metrics (FPS, memory, draw calls)
game_wait
Wait N frames in the running game
| Parameter | Type | Description |
|---|---|---|
frames | number | Number of frames to wait. Default: 1 |
read_scene
Read scene file as JSON node tree (headless)
| Parameter | Type | Description |
|---|---|---|
projectPath * | string | Godot project path |
scenePath * | string | Scene file path (relative to project) |
modify_scene_node
Modify node properties in a scene file (headless)
| Parameter | Type | Description |
|---|---|---|
nodePath * | string | Path to the node within the scene (e.g., "root/Player/Sprite2D") |
projectPath * | string | Godot project path |
properties * | object | Properties to set on the node as key-value pairs |
scenePath * | string | Scene file path (relative to project) |
remove_scene_node
Remove a node from a scene file (headless)
| Parameter | Type | Description |
|---|---|---|
nodePath * | string | Path to the node to remove (e.g., "root/Player/OldNode") |
projectPath * | string | Godot project path |
scenePath * | string | Scene file path (relative to project) |
read_project_settings
Read project.godot as structured JSON
| Parameter | Type | Description |
|---|---|---|
projectPath * | string | Godot project path |
modify_project_settings
Modify a project.godot setting
| Parameter | Type | Description |
|---|---|---|
key * | string | Setting key (e.g., "run/main_scene", "window/size/viewport_width") |
projectPath * | string | Godot project path |
section * | string | Section in project.godot (e.g., "application", "display", "rendering") |
value * | string | Value to set (as a string, will be written as-is) |
list_project_files
List project files, optionally filtered by extension
| Parameter | Type | Description |
|---|---|---|
projectPath * | string | Godot project path |
extensions | array | Optional file extensions to filter by (e.g., [".gd", ".tscn"]). Include the dot. |
subdirectory | string | Optional subdirectory to search in (e.g., "scripts/player") |
game_connect_signal
Connect a signal from one node to a method on another node in the running game
| Parameter | Type | Description |
|---|---|---|
method * | string | Method name to call on the target node |
nodePath * | string | Path to the source node that emits the signal |
signalName * | string | Name of the signal to connect |
targetPath * | string | Path to the target node that receives the signal |
game_disconnect_signal
Disconnect a signal connection in the running game
| Parameter | Type | Description |
|---|---|---|
method * | string | Method name on the target |
nodePath * | string | Path to the source node |
signalName * | string | Name of the signal |
targetPath * | string | Path to the target node |
game_emit_signal
Emit a signal on a node in the running game, optionally with arguments
| Parameter | Type | Description |
|---|---|---|
nodePath * | string | Path to the node |
signalName * | string | Name of the signal to emit |
args | array | Optional arguments to pass with the signal |
game_play_animation
Control an AnimationPlayer node: play, stop, pause, or list animations
| Parameter | Type | Description |
|---|---|---|
nodePath * | string | Path to the AnimationPlayer node |
action | string | Action: "play", "stop", "pause", or "get_list" |
animation | string | Animation name (required for "play" action) |
game_tween_property
Tween a node property in the running game
| Parameter | Type | Description |
|---|---|---|
finalValue * | Target value. Use {x,y} for Vector2, {x,y,z} for Vector3, {r,g,b,a} for Color | |
nodePath * | string | Path to the node |
property * | string | Property to tween (e.g., "position", "modulate") |
duration | number | Duration in seconds. Default: 1.0 |
easeType | number | Tween.EaseType enum value. Default: 2 (IN_OUT) |
transType | number | Tween.TransitionType enum value. Default: 0 (LINEAR) |
game_get_nodes_in_group
Get all nodes belonging to a specific group in the running game
| Parameter | Type | Description |
|---|---|---|
group * | string | Group name (e.g., "enemies", "player", "checkpoints") |
game_find_nodes_by_class
Find all nodes of a specific class type in the running game
| Parameter | Type | Description |
|---|---|---|
className * | string | Class name to search for (e.g., "CharacterBody3D", "Light3D") |
rootPath | string | Root node path to start searching from. Default: "/root" |
game_reparent_node
Move a node to a new parent in the running game's scene tree
| Parameter | Type | Description |
|---|---|---|
newParentPath * | string | Path to the new parent node |
nodePath * | string | Path to the node to move |
keepGlobalTransform | boolean | Whether to keep the global transform. Default: true |
attach_script
Attach a GDScript to a scene node (headless)
| Parameter | Type | Description |
|---|---|---|
nodePath * | string | Path to the node within the scene (e.g., "root/Player") |
projectPath * | string | Godot project path |
scenePath * | string | Scene file path (relative to project) |
scriptPath * | string | Path to the .gd script file (relative to project) |
create_resource
Create a .tres resource file (headless)
| Parameter | Type | Description |
|---|---|---|
projectPath * | string | Godot project path |
resourcePath * | string | Where to save the .tres file (relative to project) |
resourceType * | string | Godot class name (e.g., "StandardMaterial3D", "Theme", "Environment") |
properties | object | Optional properties to set on the resource |
read_file
Read a text file from a Godot project
| Parameter | Type | Description |
|---|---|---|
filePath * | string | File path relative to project root |
projectPath * | string | Godot project path |
write_file
Create or overwrite a text file in a Godot project
| Parameter | Type | Description |
|---|---|---|
content * | string | File content to write |
filePath * | string | File path relative to project root |
projectPath * | string | Godot project path |
delete_file
Delete a file from a Godot project
| Parameter | Type | Description |
|---|---|---|
filePath * | string | File path relative to project root |
projectPath * | string | Godot project path |
create_directory
Create a directory inside a Godot project
| Parameter | Type | Description |
|---|---|---|
directoryPath * | string | Directory path relative to project root |
projectPath * | string | Godot project path |
game_get_errors
Get new push_error/push_warning messages since last call
game_get_logs
Get new print output from the running game since last call
game_key_hold
Hold a key down without auto-releasing
| Parameter | Type | Description |
|---|---|---|
action | string | Godot input action name (e.g. "move_forward") |
key | string | Key name (e.g. "W", "Space", "Shift") |
game_key_release
Release a previously held key
| Parameter | Type | Description |
|---|---|---|
action | string | Godot input action name to release |
key | string | Key name to release |
game_scroll
Send mouse scroll wheel event at position
| Parameter | Type | Description |
|---|---|---|
x * | number | X position for scroll event |
y * | number | Y position for scroll event |
amount | number | Scroll amount (clicks). Default: 1 |
direction | string | "up", "down", "left", or "right". Default: "up" |
game_mouse_drag
Drag mouse between two points over N frames
| Parameter | Type | Description |
|---|---|---|
fromX * | number | Start X coordinate |
fromY * | number | Start Y coordinate |
toX * | number | End X coordinate |
toY * | number | End Y coordinate |
button | number | Mouse button (1=left). Default: 1 |
steps | number | Number of frames for the drag. Default: 10 |
game_gamepad
Send gamepad button or axis input event
| Parameter | Type | Description |
|---|---|---|
index * | number | Button or axis index |
type * | string | "button" or "axis" |
value * | number | Value: 0/1 for buttons, -1.0 to 1.0 for axes |
device | number | Gamepad device index. Default: 0 |
create_project
Create a new Godot project from scratch
| Parameter | Type | Description |
|---|---|---|
projectName * | string | Name of the project |
projectPath * | string | Directory where the project will be created |
manage_autoloads
Add, remove, or list autoloads in a Godot project
| Parameter | Type | Description |
|---|---|---|
action * | string | "list", "add", or "remove" |
projectPath * | string | Godot project path |
name | string | Autoload name (required for add/remove) |
path | string | Script/scene path (required for add, e.g. "res://globals.gd") |
manage_input_map
Add, remove, or list input actions and bindings
| Parameter | Type | Description |
|---|---|---|
action * | string | "list", "add", or "remove" |
projectPath * | string | Godot project path |
actionName | string | Input action name (required for add/remove) |
deadzone | number | Deadzone for the action. Default: 0.5 |
key | string | Key to bind (for add, e.g. "W", "Space") |
manage_export_presets
Create or modify export preset configuration
| Parameter | Type | Description |
|---|---|---|
action * | string | "list", "add", or "remove" |
projectPath * | string | Godot project path |
name | string | Preset name (required for add/remove) |
platform | string | Platform (for add, e.g. "Windows Desktop", "Linux", "Web") |
runnable | boolean | Whether this preset is runnable. Default: false |
game_get_camera
Get active camera position, rotation, and size
game_set_camera
Move or rotate the active camera
| Parameter | Type | Description |
|---|---|---|
fov | number | Field of view for Camera3D |
position | object | {x,y} or {x,y,z} for camera position |
rotation | object | {x,y,z} rotation in degrees |
zoom | object | {x,y} zoom for Camera2D |
game_raycast
Cast a ray and return collision results
| Parameter | Type | Description |
|---|---|---|
from * | object | Start point {x,y} or {x,y,z} |
to * | object | End point {x,y} or {x,y,z} |
collisionMask | number | Collision mask. Default: 0xFFFFFFFF |
game_get_audio
Get audio bus layout and playing streams
game_spawn_node
Create a new node of any type at runtime
| Parameter | Type | Description |
|---|---|---|
type * | string | Node class name (e.g. "Sprite2D", "CharacterBody3D") |
name | string | Name for the new node. Default: auto-generated |
parentPath | string | Parent node path. Default: "/root" |
properties | object | Properties to set on the new node |
game_set_shader_param
Set a shader parameter on a node's material
| Parameter | Type | Description |
|---|---|---|
nodePath * | string | Path to the node with a ShaderMaterial |
paramName * | string | Shader parameter name |
value * | Value to set (number, object, array, etc.) | |
typeHint | string | Optional type hint (e.g. "Color", "Vector2") |
game_audio_play
Play, stop, or pause an AudioStreamPlayer node
| Parameter | Type | Description |
|---|---|---|
nodePath * | string | Path to AudioStreamPlayer/2D/3D node |
action | string | Action: play, stop, pause, resume |
bus | string | Audio bus name |
fromPosition | number | Start position in seconds |
pitch | number | Pitch scale |
stream | string | Optional res:// path to load a new stream |
volume | number | Volume (linear 0-1) |
game_audio_bus
Set volume, mute, or solo on an audio bus
| Parameter | Type | Description |
|---|---|---|
busName | string | Bus name. Default: "Master" |
mute | boolean | Mute the bus |
solo | boolean | Solo the bus |
volume | number | Volume (linear 0-1) |
game_tilemap
Get or set cells in a TileMapLayer node
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: set_cells, get_cell, erase_cells, get_used_cells |
nodePath * | string | Path to TileMapLayer node |
cells | array | Array of cell objects for set_cells/erase_cells |
sourceId | number | Filter by source_id (for get_used_cells) |
x | number | Cell X coordinate (for get_cell) |
y | number | Cell Y coordinate (for get_cell) |
game_add_collision
Add a collision shape to a physics body node
| Parameter | Type | Description |
|---|---|---|
parentPath * | string | Path to CollisionBody/Area node |
shapeType * | string | Shape: box, sphere/circle, capsule, cylinder, ray, segment |
collisionLayer | number | Collision layer bitmask |
collisionMask | number | Collision mask bitmask |
disabled | boolean | Start disabled |
shapeParams | object | Shape dimensions (e.g. {radius, height}) |
game_environment
Get or set environment and post-processing settings
| Parameter | Type | Description |
|---|---|---|
action | string | Action: get or set. Default: set |
ambientLightColor | object | Ambient light color {r,g,b,a} |
ambientLightEnergy | number | Ambient light energy |
backgroundColor | object | Background color {r,g,b,a} |
backgroundMode | number | 0=clear, 1=custom_color, 2=sky, 3=canvas |
brightness | number | Brightness adjustment |
contrast | number | Contrast adjustment |
fogDensity | number | Fog density |
fogEnabled | boolean | Enable fog |
fogLightColor | object | Fog light color {r,g,b,a} |
glowBloom | number | Glow bloom |
glowEnabled | boolean | Enable glow |
glowIntensity | number | Glow intensity |
saturation | number | Saturation adjustment |
ssaoEnabled | boolean | Enable SSAO |
ssaoIntensity | number | SSAO intensity |
ssaoRadius | number | SSAO radius |
ssrEnabled | boolean | Enable SSR |
tonemapMode | number | 0=linear, 1=reinhardt, 2=filmic, 3=aces |
game_manage_group
Add or remove a node from a group, or list groups
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: add, remove, get_groups, clear_group |
group | string | Group name |
nodePath | string | Path to the node |
game_create_timer
Create a Timer node with configuration
| Parameter | Type | Description |
|---|---|---|
autostart | boolean | Auto-start the timer. Default: false |
name | string | Optional timer node name |
oneShot | boolean | One-shot mode. Default: false |
parentPath | string | Parent node path. Default: "/root" |
waitTime | number | Timer duration in seconds. Default: 1.0 |
game_set_particles
Configure GPUParticles2D/3D node properties
| Parameter | Type | Description |
|---|---|---|
nodePath * | string | Path to GPUParticles node |
amount | number | Number of particles |
emitting | boolean | Enable/disable emission |
explosiveness | number | Explosiveness ratio (0-1) |
lifetime | number | Particle lifetime in seconds |
oneShot | boolean | One-shot mode |
processMaterial | object | ParticleProcessMaterial settings |
randomness | number | Randomness ratio (0-1) |
speedScale | number | Speed scale |
game_create_animation
Create an animation with tracks and keyframes
| Parameter | Type | Description |
|---|---|---|
animationName * | string | Name for the new animation |
nodePath * | string | Path to AnimationPlayer node |
length | number | Animation length in seconds. Default: 1.0 |
library | string | Animation library name. Default: "" |
loopMode | number | 0=none, 1=linear, 2=pingpong |
tracks | array | Array of track definitions |
export_project
Export a Godot project using a preset
| Parameter | Type | Description |
|---|---|---|
outputPath * | string | Output file path for the exported build |
presetName * | string | Export preset name |
projectPath * | string | Godot project path |
debug | boolean | Use debug export. Default: false |
game_serialize_state
Save or load node tree state as JSON
| Parameter | Type | Description |
|---|---|---|
action | string | Action: save or load. Default: save |
data | object | State data to restore (for load) |
maxDepth | number | Max tree depth to serialize. Default: 5 |
nodePath | string | Root node path. Default: "/root" |
game_physics_body
Configure physics body properties (mass, velocity, etc.)
| Parameter | Type | Description |
|---|---|---|
nodePath * | string | Path to physics body node |
angularDamp | number | Angular damping |
angularVelocity | Angular velocity (float for 2D, {x,y,z} for 3D) | |
bounce | number | Physics material bounce |
freeze | boolean | Freeze the body |
friction | number | Physics material friction |
gravityScale | number | Gravity scale |
linearDamp | number | Linear damping |
linearVelocity | object | Linear velocity {x,y} or {x,y,z} |
mass | number | Body mass |
sleeping | boolean | Put body to sleep |
game_create_joint
Create a physics joint between two bodies
| Parameter | Type | Description |
|---|---|---|
jointType * | string | Joint type: pin_2d, spring_2d, groove_2d, pin_3d, hinge_3d, cone_3d, slider_3d |
parentPath * | string | Parent node path for the joint |
damping | number | Spring damping (spring_2d) |
length | number | Length (spring_2d, groove_2d) |
nodeAPath | string | Path to first body |
nodeBPath | string | Path to second body |
softness | number | Softness (pin_2d) |
stiffness | number | Spring stiffness (spring_2d) |
game_bone_pose
Get or set bone poses on a Skeleton3D node
| Parameter | Type | Description |
|---|---|---|
nodePath * | string | Path to Skeleton3D node |
action | string | Action: list, get, or set. Default: list |
boneIndex | number | Bone index |
boneName | string | Bone name (alternative to index) |
position | object | Bone position {x,y,z} |
rotation | object | Bone rotation quaternion {x,y,z,w} |
scale | object | Bone scale {x,y,z} |
game_ui_theme
Apply theme overrides to a Control node
| Parameter | Type | Description |
|---|---|---|
nodePath * | string | Path to Control node |
overrides * | object | Theme overrides: {colors, constants, fontSizes} |
game_viewport
Create or configure a SubViewport node
| Parameter | Type | Description |
|---|---|---|
action | string | Action: create, configure, or get |
height | number | Viewport height |
msaa | number | MSAA level (0=disabled, 1=2x, 2=4x, 3=8x) |
name | string | Viewport name (for create) |
nodePath | string | SubViewport path (for configure/get) |
parentPath | string | Parent path (for create) |
transparentBg | boolean | Transparent background |
width | number | Viewport width |
game_debug_draw
Draw debug lines, spheres, or boxes in 3D
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: line, sphere, box, or clear |
center | object | Sphere/box center {x,y,z} |
color | object | Draw color {r,g,b,a}. Default: red |
duration | number | Frames to persist (0=permanent) |
from | object | Line start {x,y,z} |
radius | number | Sphere radius. Default: 0.5 |
size | object | Box size {x,y,z} |
to | object | Line end {x,y,z} |
game_http_request
HTTP GET/POST/PUT/DELETE with headers and body
| Parameter | Type | Description |
|---|---|---|
url * | string | Request URL |
body | string | Request body string |
headers | object | Request headers as key-value pairs |
method | string | HTTP method: GET, POST, PUT, DELETE. Default: GET |
timeout | number | Timeout in seconds. Default: 30 |
game_websocket
WebSocket client connect/disconnect/send messages
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: connect, disconnect, send, status |
message | string | Message to send (for send) |
url | string | WebSocket URL (for connect) |
game_multiplayer
ENet multiplayer create server/client/disconnect
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: create_server, create_client, disconnect, status |
address | string | Server address for client. Default: 127.0.0.1 |
maxClients | number | Max clients for server. Default: 32 |
port | number | Server port. Default: 7000 |
game_rpc
Call or configure RPC methods on nodes
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: call, configure |
method * | string | Method name |
nodePath * | string | Path to the node |
args | array | Arguments for the RPC call |
channel | number | Transfer channel |
mode | string | RPC mode: any_peer, authority |
sync | string | Sync mode: call_local, call_remote |
game_touch
Simulate touch press/release/drag and gestures
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: press, release, drag |
x * | number | Touch X position |
y * | number | Touch Y position |
index | number | Touch index. Default: 0 |
steps | number | Drag steps. Default: 10 |
toX | number | Drag end X (for drag) |
toY | number | Drag end Y (for drag) |
game_input_state
Query pressed keys, mouse position, connected pads
| Parameter | Type | Description |
|---|---|---|
action | string | Action: query, warp_mouse, set_mouse_mode |
mouseMode | string | Mode: visible, hidden, captured, confined |
x | number | Mouse X (for warp_mouse) |
y | number | Mouse Y (for warp_mouse) |
game_input_action
Manage runtime InputMap actions and strength
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: set_strength, add_action, remove_action, list |
actionName | string | Input action name |
key | string | Key name (for add_action) |
strength | number | Action strength 0.0-1.0 |
game_list_signals
List all signals on a node with connections
| Parameter | Type | Description |
|---|---|---|
nodePath * | string | Path to the node |
game_await_signal
Await a signal with timeout and return args
| Parameter | Type | Description |
|---|---|---|
nodePath * | string | Path to the node |
signalName * | string | Signal name to await |
timeout | number | Timeout in seconds. Default: 10 |
game_script
Attach, detach, or get source of node scripts
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: attach, detach, get_source |
nodePath * | string | Path to the node |
className | string | Class the script extends |
source | string | GDScript source code (for attach) |
game_window
Get/set window size, fullscreen, title, position
| Parameter | Type | Description |
|---|---|---|
action | string | Action: get or set. Default: get |
borderless | boolean | Borderless mode |
fullscreen | boolean | Fullscreen mode |
height | number | Window height |
position | object | Window position {x, y} |
title | string | Window title |
vsync | boolean | Enable vsync |
width | number | Window width |
game_os_info
Get platform, locale, screen, adapter, memory info
game_time_scale
Get/set Engine.time_scale and timing info
| Parameter | Type | Description |
|---|---|---|
action | string | Action: get or set. Default: get |
timeScale | number | Time scale value (for set) |
game_process_mode
Set node process mode (pausable/always/disabled)
| Parameter | Type | Description |
|---|---|---|
mode * | string | Mode: inherit, pausable, when_paused, always, disabled |
nodePath * | string | Path to the node |
game_world_settings
Get/set gravity, physics FPS, and world settings
| Parameter | Type | Description |
|---|---|---|
action | string | Action: get or set. Default: get |
gravity | number | Gravity magnitude |
gravityDirection | object | Gravity direction vector {x,y,z} |
physicsFps | number | Physics ticks per second |
game_csg
Create/configure CSG nodes with boolean operations
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: create or configure |
csgType | string | CSG type: box, sphere, cylinder, mesh, combiner |
height | number | Height (cylinder) |
material | string | Material resource path |
name | string | Node name |
nodePath | string | Node path (for configure) |
operation | string | Boolean op: union, intersection, subtraction |
parentPath | string | Parent node path |
radius | number | Radius (sphere/cylinder) |
size | object | Size {x,y,z} (box) |
game_multimesh
Create/configure MultiMeshInstance3D for instancing
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: create, set_instance, get_info |
count | number | Instance count |
index | number | Instance index (for set_instance) |
meshType | string | Mesh: box, sphere, cylinder, quad |
name | string | Node name |
nodePath | string | Node path (for set_instance/get_info) |
parentPath | string | Parent node path |
transform | object | Transform {origin:{x,y,z}, rotation:{x,y,z}} |
game_procedural_mesh
Generate meshes via ArrayMesh from vertex data
| Parameter | Type | Description |
|---|---|---|
parentPath * | string | Parent node path |
vertices * | array | Vertex positions [[x,y,z],...] |
indices | array | Triangle indices [i0,i1,i2,...] |
name | string | Node name |
normals | array | Vertex normals [[x,y,z],...] |
uvs | array | UV coordinates [[u,v],...] |
game_light_3d
Create/configure 3D lights (directional/omni/spot)
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: create or configure |
color | object | Light color {r,g,b} |
energy | number | Light energy/intensity |
lightType | string | Type: directional, omni, spot |
name | string | Node name |
nodePath | string | Node path (for configure) |
parentPath | string | Parent node path |
range | number | Light range (omni/spot) |
shadows | boolean | Enable shadow casting |
spotAngle | number | Spot cone angle in degrees |
game_mesh_instance
Create MeshInstance3D with primitive meshes
| Parameter | Type | Description |
|---|---|---|
meshType * | string | Mesh: box, sphere, cylinder, capsule, plane, quad |
parentPath * | string | Parent node path |
height | number | Mesh height |
material | string | Material resource path or color hex |
name | string | Node name |
radius | number | Mesh radius |
size | object | Mesh size {x,y,z} |
game_gridmap
GridMap set/get/clear cells and query used cells
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: set_cell, get_cell, clear, get_used |
nodePath * | string | Path to GridMap node |
item | number | MeshLibrary item index |
orientation | number | Cell orientation index |
x | number | Cell X coordinate |
y | number | Cell Y coordinate |
z | number | Cell Z coordinate |
game_3d_effects
Create ReflectionProbe, Decal, or FogVolume
| Parameter | Type | Description |
|---|---|---|
effectType * | string | Type: reflection_probe, decal, fog_volume |
parentPath * | string | Parent node path |
intensity | number | Effect intensity |
name | string | Node name |
size | object | Effect size {x,y,z} |
game_gi
Create/configure VoxelGI or LightmapGI
| Parameter | Type | Description |
|---|---|---|
giType * | string | Type: voxel_gi or lightmap_gi |
parentPath * | string | Parent node path |
name | string | Node name |
size | object | Extents size {x,y,z} |
game_path_3d
Create Path3D/Curve3D and manage curve points
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: create, add_point, set_points, get_points |
name | string | Node name |
nodePath | string | Path3D node path (for add/set/get) |
parentPath | string | Parent node path |
point | object | Single point {x,y,z} |
points | array | Array of points [{x,y,z},...] |
game_sky
Create/configure Sky with procedural/physical sky
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: create or configure |
bottomColor | object | Horizon bottom color {r,g,b} |
groundColor | object | Ground color {r,g,b} |
skyType | string | Type: procedural or physical |
sunEnergy | number | Sun energy/brightness |
topColor | object | Sky top color {r,g,b} |
game_camera_attributes
Configure DOF, exposure, auto-exposure on camera
| Parameter | Type | Description |
|---|---|---|
action | string | Action: get or set |
autoExposure | boolean | Enable auto exposure |
autoExposureScale | number | Auto exposure scale |
dofBlurAmount | number | DOF blur amount |
dofBlurFar | number | DOF far blur distance |
dofBlurNear | number | DOF near blur distance |
exposureMultiplier | number | Exposure multiplier |
game_physics_3d
Area3D queries and point/shape intersection tests
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: overlap, point_query, shape_query, ray |
collisionMask | number | Collision mask bitmask |
from | object | Ray/point origin {x,y,z} |
nodePath | string | Area3D/node path (for overlap) |
to | object | Ray end {x,y,z} |
game_canvas
Create/configure CanvasLayer and CanvasModulate
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: create_layer, create_modulate, configure |
color | object | Modulate color {r,g,b,a} |
layer | number | Canvas layer number |
name | string | Node name |
nodePath | string | Node path (for configure) |
parentPath | string | Parent node path |
game_canvas_draw
2D drawing: line/rect/circle/polygon/text/clear
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: line, rect, circle, polygon, text, clear |
center | object | Center point {x,y} |
color | object | Draw color {r,g,b,a} |
filled | boolean | Fill shape. Default: true |
from | object | Start point {x,y} |
parentPath | string | Parent node path for draw node |
points | array | Polygon points [{x,y},...] |
radius | number | Circle radius |
rect | object | Rectangle {x,y,w,h} |
text | string | Text to draw |
to | object | End point {x,y} |
width | number | Line width. Default: 2 |
game_light_2d
Create/configure 2D lights and light occluders
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: create_point, create_directional, create_occluder |
color | object | Light color {r,g,b,a} |
energy | number | Light energy |
name | string | Node name |
nodePath | string | Node path (for configure) |
parentPath | string | Parent node path |
range | number | Light texture range |
game_parallax
Create/configure ParallaxBackground and layers
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: create_background, add_layer, configure |
mirroring | object | Mirroring {x,y} |
motionOffset | object | Motion offset {x,y} |
motionScale | object | Motion scale {x,y} |
name | string | Node name |
nodePath | string | Node path (for configure) |
parentPath | string | Parent node path |
game_shape_2d
Line2D/Polygon2D point manipulation
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: add_point, set_points, clear, get_points |
nodePath * | string | Path to Line2D/Polygon2D node |
color | object | Color {r,g,b,a} |
point | object | Single point {x,y} |
points | array | Array of points [{x,y},...] |
width | number | Line width |
game_path_2d
Path2D/Curve2D management and AnimatedSprite2D
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: create, add_point, set_points, get_points |
name | string | Node name |
nodePath | string | Path2D node path |
parentPath | string | Parent node path (for create) |
point | object | Single point {x,y} |
points | array | Array of points [{x,y},...] |
game_physics_2d
Area2D queries and 2D point/shape intersections
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: overlap, point_query, shape_query, ray |
collisionMask | number | Collision mask bitmask |
from | object | Origin point {x,y} |
nodePath | string | Area2D/node path (for overlap) |
to | object | End point {x,y} (for ray) |
game_animation_tree
AnimationTree state machine travel and params
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: travel, set_param, get_state, get_params |
nodePath * | string | Path to AnimationTree node |
paramName | string | Parameter name |
paramValue | Parameter value | |
stateName | string | State name (for travel) |
game_animation_control
AnimationPlayer seek/queue/speed/info control
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: seek, queue, set_speed, get_info, stop |
nodePath * | string | Path to AnimationPlayer node |
animationName | string | Animation name |
position | number | Seek position in seconds |
speed | number | Playback speed scale |
game_skeleton_ik
SkeletonIK3D start/stop/set target position
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: start, stop, set_target |
nodePath * | string | Path to SkeletonIK3D node |
target | object | Target position {x,y,z} |
game_audio_effect
Add/remove/configure audio bus effects
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: add, remove, configure, list |
busName | string | Audio bus name. Default: Master |
effectType | string | Effect: reverb, delay, chorus, eq, compressor, limiter |
index | number | Effect index |
properties | object | Effect properties to set |
game_audio_bus_layout
Create/remove/reorder audio buses and routing
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: add, remove, move, set_send, list |
busName | string | Bus name |
index | number | Target index (for move) |
sendTo | string | Send target bus name |
game_audio_spatial
Configure AudioStreamPlayer3D spatial properties
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: configure, get_info |
nodePath * | string | Path to AudioStreamPlayer3D |
attenuationModel | string | Model: inverse, inverse_square, logarithmic |
maxDb | number | Maximum volume in dB |
maxDistance | number | Maximum audible distance |
unitSize | number | Unit size for distance attenuation |
rename_file
Rename or move a file within the project
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Current file path (relative to project) |
newPath * | string | New file path (relative to project) |
projectPath * | string | Godot project path |
manage_resource
Read or modify .tres/.res resource files
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: read or modify |
projectPath * | string | Godot project path |
resourcePath * | string | Resource file path (relative to project) |
properties | object | Properties to modify |
create_script
Create a GDScript file from a template
| Parameter | Type | Description |
|---|---|---|
projectPath * | string | Godot project path |
scriptPath * | string | Script file path (relative to project) |
className | string | Optional class_name |
extends | string | Base class to extend. Default: Node |
methods | array | Method stubs to include |
source | string | Full source code (overrides template) |
manage_scene_signals
List/add/remove signal connections in .tscn files
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: list, add, remove |
projectPath * | string | Godot project path |
scenePath * | string | Scene file path (relative to project) |
method | string | Target method name |
signalName | string | Signal name |
sourcePath | string | Source node path |
targetPath | string | Target node path |
manage_layers
List/set named layer definitions in project
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: list or set |
projectPath * | string | Godot project path |
layer | number | Layer number (1-32) |
layerType | string | Type: render, physics_2d, physics_3d, navigation |
name | string | Layer name |
manage_plugins
List/enable/disable editor plugins
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: list, enable, disable |
projectPath * | string | Godot project path |
pluginName | string | Plugin name |
manage_shader
Create or read .gdshader files
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: create or read |
projectPath * | string | Godot project path |
shaderPath * | string | Shader file path (relative to project) |
shaderType | string | Type: spatial, canvas_item, particles, sky |
source | string | Shader source code (for create) |
manage_theme_resource
Create/read/modify Theme .tres resources
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: create, read, modify |
projectPath * | string | Godot project path |
resourcePath * | string | Theme file path (relative to project) |
properties | object | Theme properties to set |
set_main_scene
Set the main scene in project.godot
| Parameter | Type | Description |
|---|---|---|
projectPath * | string | Godot project path |
scenePath * | string | Scene path (relative to project) |
manage_scene_structure
Rename/duplicate/move nodes within .tscn scenes
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: rename, duplicate, move |
nodePath * | string | Source node path in scene |
projectPath * | string | Godot project path |
scenePath * | string | Scene file path (relative to project) |
newName | string | New name (for rename) |
newParentPath | string | New parent path (for move) |
manage_translations
List/add/remove translation files in project
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: list, add, remove |
projectPath * | string | Godot project path |
translationPath | string | Translation file path |
game_locale
Set/get locale and translate strings at runtime
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: get, set, translate |
key | string | Translation key (for translate) |
locale | string | Locale code (e.g. en, es, fr) |
game_ui_control
Set focus, anchors, tooltip, mouse filter on Control
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: configure, grab_focus, release_focus, get_info |
nodePath * | string | Path to Control node |
anchorPreset | number | Anchor preset value |
minSize | object | Minimum size {x,y} |
mouseFilter | string | Mouse filter: stop, pass, ignore |
tooltip | string | Tooltip text |
game_ui_text
LineEdit/TextEdit/RichTextLabel text operations
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: get, set, append, clear, select, bbcode |
nodePath * | string | Path to text control |
caretPosition | number | Caret column position |
selectionFrom | number | Selection start |
selectionTo | number | Selection end |
text | string | Text content |
game_ui_popup
Show/hide/popup for Popup/Dialog/Window nodes
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: popup_centered, popup, hide, get_info |
nodePath * | string | Path to Popup/Dialog/Window |
size | object | Popup size {x,y} |
text | string | Dialog body text |
title | string | Dialog title text |
game_ui_tree
Tree control: get/select/collapse/add/remove items
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: get_items, select, collapse, expand, add, remove |
nodePath * | string | Path to Tree control |
column | number | Column index. Default: 0 |
itemPath | string | Item path (slash-separated indices) |
text | string | Item text (for add) |
game_ui_item_list
ItemList/OptionButton: get/select/add/remove items
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: get_items, select, add, remove, clear |
nodePath * | string | Path to ItemList/OptionButton |
index | number | Item index |
text | string | Item text (for add) |
game_ui_tabs
TabContainer/TabBar: get/set current tab
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: get_tabs, set_current, set_title |
nodePath * | string | Path to TabContainer/TabBar |
index | number | Tab index |
title | string | Tab title |
game_ui_range
ProgressBar/Slider/SpinBox/ColorPicker get/set
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: get or set |
nodePath * | string | Path to Range/ColorPicker node |
color | object | Color {r,g,b,a} (for ColorPicker) |
maxValue | number | Maximum value |
minValue | number | Minimum value |
step | number | Step value |
value | number | Value (for Range nodes) |
game_render_settings
Get/set MSAA, FXAA, TAA, scaling mode/scale
| Parameter | Type | Description |
|---|---|---|
action | string | Action: get or set |
fxaa | boolean | Enable FXAA |
msaa2d | number | MSAA 2D mode (0-3) |
msaa3d | number | MSAA 3D mode (0-3) |
scalingMode | number | Scaling mode (0=bilinear, 1=FSR1, 2=FSR2) |
scalingScale | number | Render scale (0.0-1.0) |
taa | boolean | Enable TAA |
game_resource
Runtime resource load, save, or preload
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: load, save, exists |
path * | string | Resource path (res://) |
nodePath | string | Node path (for save - saves node resource) |
property | string | Property name holding the resource |
game_visual_shader
Create and edit VisualShader graphs: add/connect/disconnect nodes
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: create, add_node, connect, disconnect, get_nodes, apply |
fromNode | number | Source node ID (for connect/disconnect) |
fromPort | number | Source port index |
nodeClass | string | VisualShaderNode class name (for add_node) |
nodePath | string | Target node path (for apply) |
position | object | Node position {x, y} (for add_node) |
shaderId | number | Shader resource ID (for multi-shader scenes) |
shaderType | string | Shader type: spatial, canvas_item, particles, sky, fog |
toNode | number | Destination node ID (for connect/disconnect) |
toPort | number | Destination port index |
game_terrain
Create/modify terrain meshes from heightmap data
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: create, modify, get_height, paint |
color | object | Vertex color {r,g,b,a} (for paint) |
depth | number | Terrain depth in vertices |
heightData | array | Array of float height values (for create) |
heightDelta | number | Height change amount (for modify) |
maxHeight | number | Maximum terrain height |
name | string | Node name |
nodePath | string | Terrain node path |
parentPath | string | Parent node path |
radius | number | Brush radius (for modify/paint) |
width | number | Terrain width in vertices |
x | number | X position (for modify/get_height/paint) |
z | number | Z position (for modify/get_height/paint) |
game_video
Video playback control: play, pause, stop, seek on VideoStreamPlayer
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: create, play, pause, stop, seek, get_status |
autoplay | boolean | Auto-play on ready |
loop | boolean | Enable looping |
name | string | Node name (for create) |
nodePath | string | Path to VideoStreamPlayer node |
parentPath | string | Parent node path (for create) |
position | number | Seek position in seconds |
videoPath | string | res:// path to video file |
volume | number | Volume (linear 0-1) |
manage_ci_pipeline
Create/read GitHub Actions workflow for automated Godot exports
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: create or read |
projectPath * | string | Absolute path to Godot project |
godotVersion | string | Godot version (e.g. 4.3-stable) |
platforms | array | Target platforms: windows, linux, macos, web |
manage_docker_export
Create Dockerfile for headless Godot export
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: create or read |
projectPath * | string | Absolute path to Godot project |
baseImage | string | Base Docker image (default: ubuntu:22.04) |
exportPreset | string | Export preset name |
godotVersion | string | Godot version (e.g. 4.3-stable) |