GodotBridge

v1.0.4
io.github.godotbridge/godotbridge Checked 1 day ago Published 22 days ago

Lets AI agents build, run and test Godot 4 projects in the real editor.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_project_info

Returns Godot project metadata: project name, Godot version the project targets, the main scene path, registered autoloads, feature tags, the absolute paths to the running Godot executable and the project's root directory (used by game_launch_process to spawn the game directly), and the absolute path to the project's debug log file (used by get_debugger_errors).

get_project_settings

Exports all project.godot settings as structured JSON.

list_project_files

Enumerates files in the Godot project, excluding .godot/ cache and .import sidecar files.

ParameterTypeDescription
pathstring

read_file

Loads a UTF-8 text file from within the project.

ParameterTypeDescription
path *string

write_file

Creates or overwrites a file with the given text content.

ParameterTypeDescription
content *string
path *string

get_scene_tree

Retrieves the currently open scene's node hierarchy.

editor_undo

Triggers an undo action in the Godot editor.

editor_redo

Triggers a redo action in the Godot editor.

get_editor_screenshot

Captures a screenshot of the editor's main viewport. Without save_path, returns a base64-encoded PNG; with save_path, writes the PNG directly to disk instead (avoids copy-pasting a large base64 string through a UI, which is fragile) and returns that file's absolute path.

ParameterTypeDescription
save_pathstring

get_editor_log

Returns the last N lines from the project's shared debug log file (same file get_debugger_errors reads). Despite the name, this is not a log of the editor's own activity — the editor's own operations never write here, confirmed empirically. It only ever has the engine's startup banner plus output from a game actually played this session (play_scene/play_project/game_launch_process). Unlike get_debugger_errors, this returns all lines unfiltered, not just errors/warnings.

ParameterTypeDescription
max_linesinteger

get_selection

Returns the currently selected nodes in the editor scene tree.

select_node

Selects a node in the editor scene tree by its path.

ParameterTypeDescription
node_path *string

describe_scene_visual

Describes the visual layout of the current scene — node positions, sizes, visibility, and z-indices for 2D nodes; transforms for 3D nodes.

ParameterTypeDescription
node_pathstring

get_bridge_status

Returns the status of the GodotBridge MCP connection including Godot version, project name, and connection uptime.

list_scenes

Catalogs .tscn files in the project with root node details.

get_scene_dependencies

Identifies resource references within a scene.

ParameterTypeDescription
path *string

list_scripts

Enumerates GDScript/C# files with class names and inheritance.

get_project_statistics

Counts project files by extension and totals script line counts.

find_unused_resources

Heuristically locates resource files nothing else references and that aren't an entry point (main scene or an autoload). A lead list to review, not a guaranteed-safe deletion list.

detect_circular_dependencies

Identifies cycles in the project's resource dependency graph.

read_script

Retrieves a script's source text via the editor.

ParameterTypeDescription
path *string

create_script

Generates a new script file. If content is omitted, writes a minimal `extends base_type` template.

ParameterTypeDescription
path *string
base_typestring
contentstring

edit_script

Replaces an existing script's contents.

ParameterTypeDescription
content *string
path *string

validate_script

Compile-checks GDScript source without executing it.

ParameterTypeDescription
contentstring
pathstring

attach_script

Associates a script with a node in the currently open scene.

ParameterTypeDescription
node_path *string
script_path *string

add_state_machine_script

Scaffolds a finite-state-machine script template with the given state names.

ParameterTypeDescription
path *string
base_typestring
states

list_signals

Enumerates a node's signals with argument names.

ParameterTypeDescription
node_path *string

list_connections

Shows a node's existing signal connections.

ParameterTypeDescription
node_path *string

disconnect_signal

Removes a signal connection.

ParameterTypeDescription
method *string
node_path *string
signal_name *string
target_node_path *string

list_groups

Catalogs group membership for a node.

ParameterTypeDescription
node_path *string

add_to_group

Assigns a node to a group.

ParameterTypeDescription
group_name *string
node_path *string

remove_from_group

Unassigns a node from a group.

ParameterTypeDescription
group_name *string
node_path *string

list_nodes_in_group

Retrieves nodes within a group, scoped to the currently open scene.

ParameterTypeDescription
group_name *string

open_scene

Loads a .tscn file into the editor.

ParameterTypeDescription
path *string

create_scene

Generates a new scene file with a single root node of the given type.

ParameterTypeDescription
path *string
root_typestring

save_scene

Persists changes to the currently open scene, at its existing path.

save_branch_as_scene

Exports the subtree at node_path to a new scene file. This writes a copy; unlike the editor's own "Save Branch as Scene" command it does not replace the original node in the current scene with an instance of the new file.

ParameterTypeDescription
node_path *string
path *string

add_node

Inserts a new node of the given class under parent_path.

ParameterTypeDescription
node_type *string
parent_path *string
node_name

add_timer

Creates a configured Timer node under parent_path.

ParameterTypeDescription
parent_path *string
autostartboolean
node_namestring
one_shotboolean
wait_timenumber

instance_scene

Adds a reusable scene instance under parent_path.

ParameterTypeDescription
parent_path *string
scene_path *string
node_name

duplicate_node

Copies a node (and its descendants) as a new sibling.

ParameterTypeDescription
node_path *string
node_name

delete_node

Removes a node (and its descendants) from the scene.

ParameterTypeDescription
node_path *string

rename_node

Changes a node's name.

ParameterTypeDescription
new_name *string
node_path *string

reparent_node

Moves a node to a new parent.

ParameterTypeDescription
new_parent_path *string
node_path *string

replace_node_type

Changes a node's class while preserving its children and name, copying over shared property values on a best-effort basis.

ParameterTypeDescription
new_type *string
node_path *string

set_unique_name

Toggles scene-unique naming for script references.

ParameterTypeDescription
node_path *string
enabledboolean

connect_signal

Wires a signal-to-method connection.

ParameterTypeDescription
method *string
node_path *string
signal_name *string
target_node_path *string

find_nodes

Searches the currently open scene by node class and/or a case-insensitive name glob pattern.

ParameterTypeDescription
class_name
name_pattern

get_node_properties

Retrieves editor-visible properties from a node (all of them, or just the ones named).

ParameterTypeDescription
node_path *string
properties

set_node_property

Sets a single property on a node.

ParameterTypeDescription
node_path *string
property *string
value *

set_node_properties

Batch-sets multiple properties on a single node in one action.

ParameterTypeDescription
node_path *string
properties *object

batch_set_property

Applies one property value across many nodes. Nodes that can't be resolved are reported in `errors` rather than failing the whole call.

ParameterTypeDescription
node_paths *array
property *string
value *

batch_get_properties

Reads one property from many nodes. Nodes that can't be resolved are reported in `errors` rather than failing the whole call.

ParameterTypeDescription
node_paths *array
property *string

set_property_across_scenes

Cross-scene property refactor: loads each listed scene file (independent of what's currently open in the editor), sets the property on the node at node_path, and re-saves it.

ParameterTypeDescription
node_path *string
property *string
scene_paths *array
value *

list_assets

[Full] Catalogs project assets by file extension.

ParameterTypeDescription
extensions

get_resource_info

[Full] Retrieves resource metadata (its class/type).

ParameterTypeDescription
path *string

resolve_uid

[Full] Translates between uid:// and res:// identifiers. Provide exactly one of uid or path.

ParameterTypeDescription
pathstring
uidstring

diff_images

[Full] Compares two images and returns pixel-level difference stats — total differing pixels, percentage, and average color distance.

ParameterTypeDescription
path_a *string
path_b *string

get_image_info

[Full] Returns metadata about an image file — dimensions, format, has_alpha, file size.

ParameterTypeDescription
path *string

reimport_assets

[Full] Triggers a reimport of the given asset paths.

ParameterTypeDescription
paths *array

rescan_filesystem

[Full] Triggers a full filesystem rescan in the Godot editor.

set_import_options

[Full] Modifies the .import file for a given asset to change import settings (e.g. filter, compress, mipmaps) then reimports it.

ParameterTypeDescription
options *object
path *string

configure_sprite_frames

[Full] Modifies an existing SpriteFrames resource — add, remove, or configure animations and their frames.

ParameterTypeDescription
path *string
add_animations
remove_animations
set_fps

create_resource

[Full] Generates a .tres/.res file of the given resource class.

ParameterTypeDescription
path *string
resource_type *string
properties

edit_resource

[Full] Modifies an existing resource's properties and re-saves it.

ParameterTypeDescription
path *string
properties *object

read_resource

[Full] Loads a resource and returns its class and editor-visible properties.

ParameterTypeDescription
path *string

add_curve

[Full] Creates a Curve resource at the given path with optional initial points.

ParameterTypeDescription
path *string
points

add_gradient

[Full] Creates a Gradient resource at the given path with optional color stops.

ParameterTypeDescription
path *string
points

set_curve_points

[Full] Replaces all points on an existing Curve resource.

ParameterTypeDescription
path *string
points *array

set_gradient_points

[Full] Replaces all color stops on an existing Gradient resource.

ParameterTypeDescription
path *string
points *array

play_project

Runs the main scene.

play_scene

Runs a specific scene (or the currently edited one if path is omitted).

ParameterTypeDescription
pathstring

stop_playing

Halts the running game.

is_playing

Reports whether a game is currently running.

run_gdscript_test

Runs a GDScript test file's test_* functions in the editor process. GDScript has no exceptions, so failures are signaled by convention: a test_* function returns false or a non-empty String (the failure message) to fail; anything else (including no return) counts as a pass.

ParameterTypeDescription
contentstring
pathstring

game_get_scene_tree

[Full] Accesses the live running game's node hierarchy. Relayed to the mcp_runtime_probe.gd autoload inside the playing game; fails with NO_GAME_RUNNING if no game is currently running.

game_get_node_properties

[Full] Queries live node property values in the running game.

ParameterTypeDescription
node_path *string
properties

game_set_node_property

[Full] Modifies a running game property.

ParameterTypeDescription
node_path *string
property *string
value *

game_call_method

[Full] Invokes a method on a running node.

ParameterTypeDescription
method *string
node_path *string
args

game_reload_scene

[Full] Restarts the current running scene.

game_set_paused

[Full] Toggles the running game's scene tree pause state.

ParameterTypeDescription
pausedboolean

game_set_time_scale

[Full] Adjusts the running game's engine speed.

ParameterTypeDescription
time_scalenumber

game_assert_property

[Full] Validates a running node's property against an expected value.

ParameterTypeDescription
expected *
node_path *string
property *string

game_get_performance

[Full] Retrieves FPS, memory, and node/object counts from the running game.

game_wait_for_node

[Full] Waits, across real engine frames (non-blocking), for a node to appear in the running game's current scene.

ParameterTypeDescription
node_path *string
timeoutnumber

game_monitor_property

[Full] Samples a node property at a fixed interval over a duration and returns the time series.

ParameterTypeDescription
node_path *string
property *string
durationnumber
intervalnumber

game_simulate_input

[Full] Triggers a single synthesized input event via Input.parse_input_event (or Input.action_press/release for named actions). `type` is one of "action", "key", "mouse_button", "mouse_motion".

ParameterTypeDescription
type *string
action
button_index
keycode
position
pressedboolean
relative
strengthnumber

game_simulate_sequence

[Full] Executes a timed sequence of input events. Each step is {delay: seconds_before_this_step, input: <game_simulate_input params>}.

ParameterTypeDescription
steps *array

game_find_ui

[Full] Locates Control nodes in the running scene, optionally filtered by visible text and/or class.

ParameterTypeDescription
class_namestring
textstring

game_describe_screen

[Full] Provides a structured description of the running scene's visible UI layout.

game_click_ui

[Full] Simulates clicking the first UI element (by visible text) that has a "pressed" signal.

ParameterTypeDescription
text *string

game_start_input_recording

[Full] Starts capturing player input events.

game_stop_input_recording

[Full] Stops capturing and returns the recorded events, replayable via game_replay_input.

game_replay_input

[Full] Replays a previously recorded input sequence (or the last recording if events is omitted).

ParameterTypeDescription
events

game_screenshot

[Full] Captures the running game's viewport as a base64-encoded PNG. Requires a real rendering backend — fails with INTERNAL_ERROR under a headless/dummy display driver, which has no framebuffer to read back.

game_capture_gif

[Full] Captures viewport frames over a duration at a fixed interval. Despite the name (kept for catalog parity with the tool it's modeled on), returns a frames_png_base64 array of individual PNG frames rather than a single encoded animated .gif file — Godot has no built-in GIF encoder. Same rendering-backend requirement as game_screenshot.

ParameterTypeDescription
durationnumber
intervalnumber

game_raycast_3d

[Full] Casts a physics ray in 3D space and reports the first hit, if any.

ParameterTypeDescription
from_ *object
to *object
collision_mask

game_get_collision_report

[Full] Reports physics contacts for an Area2D/Area3D (overlap queries), or a body with contact_monitor enabled (get_colliding_bodies()).

ParameterTypeDescription
node_path *string

get_input_actions

Lists every InputMap action with its bound events.

add_input_action

Registers a new input action, persisted to ProjectSettings.

ParameterTypeDescription
action_name *string
deadzonenumber

remove_input_action

Deletes an input action.

ParameterTypeDescription
action_name *string

add_key_to_action

Binds a physical key (Godot Key enum value) to an existing action.

ParameterTypeDescription
action_name *string
keycode *integer

add_input_event_to_action

Binds an input event ("key", "mouse_button", or "joypad_button") to an action.

ParameterTypeDescription
action_name *string
button_index
keycode
typestring

add_marker

Places a positional marker (Marker2D/Marker3D).

ParameterTypeDescription
parent_path *string
dimensionstring
node_name

add_remote_transform

Creates a transform driver (RemoteTransform2D/RemoteTransform3D), optionally wiring its target.

ParameterTypeDescription
parent_path *string
dimensionstring
node_name
remote_path

add_path

Generates a path curve (Path2D/Path3D).

ParameterTypeDescription
parent_path *string
dimensionstring
node_name

add_path_follow

Creates a path-following node (PathFollow2D/PathFollow3D).

ParameterTypeDescription
parent_path *string
dimensionstring
node_name

add_visibility_notifier

Installs an on-screen visibility detector (VisibleOnScreenNotifier2D/3D).

ParameterTypeDescription
parent_path *string
dimensionstring
node_name

add_bus_effect

[Full] Applies an effect (e.g. "AudioEffectReverb") to an audio bus.

ParameterTypeDescription
bus_name *string
effect_type *string
properties

create_audio_randomizer

[Full] Generates an AudioStreamRandomizer resource, optionally pre-populated with streams.

ParameterTypeDescription
path *string
stream_paths

add_audio_player

[Full] Creates an audio playback node (AudioStreamPlayer / 2D / 3D).

ParameterTypeDescription
parent_path *string
busstring
dimensionstring
node_name
stream_pathstring

get_audio_info

[Full] Audits an audio player node's bus, volume, stream, and playback state.

ParameterTypeDescription
node_path *string

get_audio_buses

[Full] Lists every audio bus with its volume, mute/solo state, and effect count.

add_audio_bus

[Full] Creates a new audio bus.

ParameterTypeDescription
bus_name *string
at_position

set_audio_bus

[Full] Modifies an existing audio bus's volume/mute/solo/send-target.

ParameterTypeDescription
bus_name *string
mute
send
solo
volume_db

save_bus_layout

[Full] Persists the current audio bus configuration to a resource file.

ParameterTypeDescription
pathstring

create_theme

[Full] Generates a new Theme resource file.

ParameterTypeDescription
path *string

set_theme_color

[Full] Assigns a theme color override.

ParameterTypeDescription
color *object
color_name *string
node_type *string
path *string

set_theme_constant

[Full] Sets a theme constant override.

ParameterTypeDescription
constant_name *string
node_type *string
path *string
value *integer

set_theme_font_size

[Full] Configures a theme font size override.

ParameterTypeDescription
font_size_name *string
node_type *string
path *string
size *integer

set_theme_stylebox

[Full] Creates a styled background (e.g. StyleBoxFlat) and assigns it in the theme.

ParameterTypeDescription
node_type *string
path *string
stylebox_name *string
properties
stylebox_typestring

get_theme_info

[Full] Retrieves every color/constant/font-size/stylebox override a theme defines, grouped by node type.

ParameterTypeDescription
path *string

assign_theme

[Full] Applies an external Theme resource to a Control or Window node.

ParameterTypeDescription
node_path *string
theme_path *string

add_shader_preset

[Full] Applies a ready-made shader effect to a node (wraps it in a fresh ShaderMaterial). A small starting preset library, not exhaustive.

ParameterTypeDescription
node_path *string
preset *string

create_shader

[Full] Generates a .gdshader file. If code is omitted, writes a minimal `shader_type` header.

ParameterTypeDescription
path *string
codestring
shader_typestring

read_shader

[Full] Retrieves shader source.

ParameterTypeDescription
path *string

edit_shader

[Full] Modifies shader code.

ParameterTypeDescription
code *string
path *string

assign_shader

[Full] Applies a shader to a node (wraps it in a fresh ShaderMaterial).

ParameterTypeDescription
node_path *string
shader_path *string

set_shader_parameter

[Full] Configures a shader uniform on a node's ShaderMaterial.

ParameterTypeDescription
node_path *string
parameter *string
value *

get_shader_parameters

[Full] Lists a node's shader uniforms with their current values.

ParameterTypeDescription
node_path *string

add_sprite

[Full] Creates a Sprite2D node.

ParameterTypeDescription
parent_path *string
node_name
texture_pathstring

add_animated_sprite

[Full] Builds a single-animation-capable sprite (AnimatedSprite2D).

ParameterTypeDescription
parent_path *string
node_name
sprite_frames_pathstring

add_camera_2d

[Full] Installs a Camera2D node.

ParameterTypeDescription
parent_path *string
currentboolean
node_name

add_line2d

[Full] Creates a Line2D shape from a point array.

ParameterTypeDescription
parent_path *string
color
node_name
points
width

add_canvas_modulate

[Full] Applies canvas-wide tinting.

ParameterTypeDescription
parent_path *string
color
node_name

add_light_2d

[Full] Places a PointLight2D or DirectionalLight2D node.

ParameterTypeDescription
parent_path *string
color
energy
light_typestring
node_name

add_light_occluder_2d

[Full] Adds a shadow-casting occluder.

ParameterTypeDescription
parent_path *string
node_name
points

add_parallax

[Full] Creates a parallax scrolling layer. layer=true adds a ParallaxLayer under an existing ParallaxBackground at parent_path; otherwise creates the ParallaxBackground container itself.

ParameterTypeDescription
parent_path *string
layerboolean
motion_scale
node_name

add_polygon_2d

[Full] Generates a flat polygon shape.

ParameterTypeDescription
parent_path *string
color
node_name
points

set_node_transform_2d

[Full] Modifies a Node2D's position/rotation/scale.

ParameterTypeDescription
node_path *string
position
rotation
scale

create_placeholder_texture

[Full] Generates a solid-color placeholder PNG.

ParameterTypeDescription
path *string
color
heightinteger
widthinteger

set_sprite_texture

[Full] Assigns a texture to any node with a texture property (Sprite2D, TextureRect, ...).

ParameterTypeDescription
node_path *string
texture_path *string

add_ui_control

[Full] Places a UI control node of the given class (Label, Button, LineEdit, ...).

ParameterTypeDescription
parent_path *string
control_typestring
node_name

set_anchors_preset

[Full] Applies a layout anchor preset (e.g. "full_rect", "center", "top_wide").

ParameterTypeDescription
node_path *string
preset *string

add_ui_container

[Full] Creates a responsive layout container (VBoxContainer, HBoxContainer, GridContainer, ...).

ParameterTypeDescription
parent_path *string
container_typestring
node_name

set_control_style

[Full] Applies a theme stylebox override directly to a control.

ParameterTypeDescription
node_path *string
properties
stylebox_namestring
stylebox_typestring

set_texture_rect

[Full] Assigns a texture to a TextureRect.

ParameterTypeDescription
node_path *string
texture_path *string
stretch_mode

set_control_icon

[Full] Places an icon on a control that has an icon property (e.g. a Button).

ParameterTypeDescription
node_path *string
texture_path *string

add_progress_bar

[Full] Creates a ProgressBar node.

ParameterTypeDescription
parent_path *string
max_value
min_value
node_name
value

wire_button

[Full] Connects a button's signal (defaults to "pressed") to a target node's method.

ParameterTypeDescription
method *string
node_path *string
target_node_path *string
signal_namestring

load_font

[Full] Loads a font resource, optionally assigning it directly to a control's theme font override.

ParameterTypeDescription
path *string
font_propertystring
node_pathstring

set_camera_limits

[Full] Configures a Camera2D's scroll boundaries.

ParameterTypeDescription
node_path *string
bottom
left
right
top

configure_popup_menu

[Full] Configures items on a PopupMenu node — adds, removes, or modifies menu entries.

ParameterTypeDescription
items *array
node_path *string

configure_menu_bar

[Full] Configures a MenuBar node with menu entries and their popup items.

ParameterTypeDescription
menus *array
node_path *string

set_item_list_items

[Full] Sets the items on an ItemList control.

ParameterTypeDescription
items *array
node_path *string

set_option_button_items

[Full] Sets the items on an OptionButton dropdown.

ParameterTypeDescription
items *array
node_path *string

add_ui_dialog

[Full] Adds a dialog node (AcceptDialog, ConfirmationDialog, FileDialog, or a custom Window) as a child.

ParameterTypeDescription
parent_path *string
dialog_typestring
node_namestring
size
titlestring

add_body_2d

[Full] Scaffolds a complete 2D physics body (body node + a sized CollisionShape2D child).

ParameterTypeDescription
parent_path *string
body_typestring
node_name
size

add_body_3d

[Full] Scaffolds a complete 3D physics body (body node + a sized CollisionShape3D child).

ParameterTypeDescription
parent_path *string
body_typestring
node_name
size

add_collision_shape

[Full] Attaches a collision shape node (CollisionShape2D/3D) with a specific shape resource.

ParameterTypeDescription
parent_path *string
dimensionstring
node_name
shape_properties
shape_type

add_collision_polygon

[Full] Creates a polygon collision shape (CollisionPolygon2D/3D).

ParameterTypeDescription
parent_path *string
points *array
dimensionstring
node_name

add_mesh_collision

[Full] Auto-generates collision geometry for a MeshInstance3D (trimesh by default, or convex).

ParameterTypeDescription
node_path *string
convexboolean

add_shape_cast

[Full] Places a shape-based cast node (ShapeCast2D/3D).

ParameterTypeDescription
parent_path *string
dimensionstring
node_name

add_raycast

[Full] Creates a raycasting node (RayCast2D/3D).

ParameterTypeDescription
parent_path *string
dimensionstring
node_name
target_position

set_physics_material

[Full] Adjusts a body's friction/bounce via a fresh PhysicsMaterial.

ParameterTypeDescription
node_path *string
absorbent
bounce
friction
rough

set_collision_layers

[Full] Configures collision_layer/collision_mask. Each accepts either a raw bitmask int or a list of 1-indexed layer numbers (e.g. [1, 3]).

ParameterTypeDescription
node_path *string
layer
mask

set_collision_layers_by_name

[Full] Sets collision_layer/collision_mask by the project's named physics layers instead of raw bit numbers.

ParameterTypeDescription
node_path *string
dimensionstring
layers
mask_layers

get_collision_info

[Full] Queries a collision object's layer/mask/material/shape-count configuration.

ParameterTypeDescription
node_path *string

add_navigation_region

[Full] Scaffolds a pathfinding region (NavigationRegion2D/3D).

ParameterTypeDescription
parent_path *string
dimensionstring
node_name

add_navigation_agent

[Full] Attaches a pathfinding agent (NavigationAgent2D/3D).

ParameterTypeDescription
parent_path *string
dimensionstring
max_speed
node_name
radius

add_navigation_obstacle

[Full] Places an avoidance obstacle (NavigationObstacle2D/3D).

ParameterTypeDescription
parent_path *string
dimensionstring
node_name
radius

get_navigation_info

[Full] Queries a navigation node's configuration (region/agent/obstacle/link).

ParameterTypeDescription
node_path *string

bake_navigation

[Full] Computes pathfinding geometry for a NavigationRegion2D/3D.

ParameterTypeDescription
node_path *string

set_navigation_layers

[Full] Configures navigation_layers. Accepts either a raw bitmask int or a list of 1-indexed layer numbers.

ParameterTypeDescription
layers *
node_path *string

add_particles

[Full] Scaffolds a particle emitter (GPUParticles2D/3D) with a default ParticleProcessMaterial.

ParameterTypeDescription
parent_path *string
amountinteger
dimensionstring
emitting
lifetime
node_name

add_particle_collision

[Full] Creates a particle collision volume (3D only: GPUParticlesCollisionBox3D/Sphere3D).

ParameterTypeDescription
parent_path *string
node_name
radius
shapestring

set_particle_process

[Full] Configures emission behavior via the node's ParticleProcessMaterial (created if absent).

ParameterTypeDescription
node_path *string
properties *object

set_particle_color_ramp

[Full] Applies a color-over-lifetime gradient to a particle emitter.

ParameterTypeDescription
colors *array
node_path *string
offsets

get_particle_info

[Full] Retrieves a particle emitter's configuration.

ParameterTypeDescription
node_path *string

add_gpu_particles_preset

[Full] Applies a ready-made VFX preset ("sparks", "smoke", or "fire"). A small starting preset library, not exhaustive.

ParameterTypeDescription
parent_path *string
preset *string
dimensionstring
node_name

create_animation

[Full] Generates a new animation on an AnimationPlayer.

ParameterTypeDescription
animation_name *string
node_path *string
lengthnumber

list_animations

[Full] Enumerates an AnimationPlayer's animations.

ParameterTypeDescription
node_path *string

rename_animation

[Full] Changes an animation's name.

ParameterTypeDescription
new_name *string
node_path *string
old_name *string

remove_animation

[Full] Deletes an animation.

ParameterTypeDescription
animation_name *string
node_path *string

get_animation_info

[Full] Retrieves an animation's length, loop mode, and track count.

ParameterTypeDescription
animation_name *string
node_path *string

add_animation_track

[Full] Inserts a property track ("value", "method", or "bezier") into an animation.

ParameterTypeDescription
animation_name *string
node_path *string
track_path *string
track_typestring

set_animation_keyframe

[Full] Places a keyframe on a track at a given time.

ParameterTypeDescription
animation_name *string
node_path *string
time *number
track_index *integer
value *

add_tween_animation

[Full] Bakes a simple property interpolation (from_value -> to_value over duration) into the animation as a value track — the closest equivalent to a runtime Tween achievable through the Animation resource system.

ParameterTypeDescription
animation_name *string
from_value *
node_path *string
to_value *
track_path *string
durationnumber

add_sprite_frames

[Full] Creates a multi-animation SpriteFrames resource. `animations` is {anim_name: {frames: [texture_path, ...], fps: number, loop: bool}}.

ParameterTypeDescription
animations *object
path *string

create_animation_tree

[Full] Scaffolds an AnimationTree with a state-machine root, ready for add_animation_state/transition.

ParameterTypeDescription
parent_path *string
activeboolean
anim_player_path
node_name

add_animation_state

[Full] Adds a state to an AnimationTree's state machine, optionally bound to an animation.

ParameterTypeDescription
node_path *string
state_name *string
animation_name

add_animation_transition

[Full] Connects two states in an AnimationTree's state machine.

ParameterTypeDescription
from_state *string
node_path *string
to_state *string
switch_mode

get_animation_tree_info

[Full] Retrieves an AnimationTree's state machine structure (state names).

ParameterTypeDescription
node_path *string

add_animation_blend_node

[Full] Adds a blend node (BlendTree, BlendSpace1D, BlendSpace2D, Add2, Add3, Blend2, Blend3, OneShot, TimeScale, TimeSeek, Transition) to an AnimationTree's state machine.

ParameterTypeDescription
blend_node_name *string
blend_node_type *string
node_path *string

connect_animation_blend_nodes

[Full] Adds a transition between two nodes in an AnimationTree's state machine.

ParameterTypeDescription
from_node *string
node_path *string
to_node *string

remove_animation_blend_node

[Full] Removes a blend node from an AnimationTree's state machine.

ParameterTypeDescription
blend_node_name *string
node_path *string

configure_animation_track

[Full] Configures properties of an existing animation track — interpolation type, update mode, loop wrap mode, or enabled state.

ParameterTypeDescription
animation_name *string
node_path *string
track_index *integer
enabled
interpolation_type
loop_wrap
update_mode

list_animation_tracks

[Full] Lists all tracks in an animation with their paths, types, and key counts.

ParameterTypeDescription
animation_name *string
node_path *string

set_animation_keyframes

[Full] Sets multiple keyframes on a track at once. Each keyframe has a time and value.

ParameterTypeDescription
animation_name *string
keyframes *array
node_path *string
track_index *integer

remove_animation_keyframe

[Full] Removes a keyframe from an animation track by its key index.

ParameterTypeDescription
animation_name *string
key_index *integer
node_path *string
track_index *integer

remove_animation_track

[Full] Removes an animation track by its index.

ParameterTypeDescription
animation_name *string
node_path *string
track_index *integer

create_tileset

[Full] Generates a TileSet resource, optionally with one TileSetAtlasSource built from a texture.

ParameterTypeDescription
path *string
texture_pathstring
tile_size

tilemap_set_cell

[Full] Paints a single tilemap cell.

ParameterTypeDescription
coords *object
node_path *string
source_id *integer
alternative_tileinteger
atlas_coords
layerinteger

tilemap_set_cells

[Full] Batch-paints cells. Each entry: {coords, source_id, atlas_coords, alternative_tile}.

ParameterTypeDescription
cells *array
node_path *string
layerinteger

tilemap_fill_rect

[Full] Fills a rectangular cell region. rect is {x, y, width, height} in cell coordinates.

ParameterTypeDescription
node_path *string
rect *object
source_id *integer
atlas_coords
layerinteger

tilemap_get_cell

[Full] Reads a cell's source and atlas coordinates.

ParameterTypeDescription
coords *object
node_path *string
layerinteger

tilemap_clear

[Full] Erases all cells on a layer, or every layer if layer is omitted.

ParameterTypeDescription
node_path *string
layer

tilemap_get_used_cells

[Full] Lists occupied cells on a layer.

ParameterTypeDescription
node_path *string
layerinteger

tilemap_get_info

[Full] Retrieves tileset assignment and per-layer usage details.

ParameterTypeDescription
node_path *string

configure_tileset_atlas

[Full] Configures a TileSetAtlasSource on an existing TileSet — sets texture, tile region size, margins, and separation.

ParameterTypeDescription
tileset_path *string
margins
separation
source_indexinteger
texture_pathstring
tile_size

configure_tileset_layers

[Full] Adds or configures physics, navigation, or custom data layers on a TileSet.

ParameterTypeDescription
tileset_path *string
custom_data_layers
navigation_layers
physics_layers

configure_tileset_terrains

[Full] Configures terrain sets and terrains on a TileSet for auto-tiling.

ParameterTypeDescription
tileset_path *string
terrain_set_indexinteger
terrain_set_mode
terrains

set_tileset_tile_data

[Full] Sets per-tile data on a TileSet atlas source — collision polygons, navigation polygons, custom data, or terrain membership.

ParameterTypeDescription
atlas_coords *object
tileset_path *string
custom_data
source_indexinteger
terrain
terrain_set

add_camera_3d

[Full] Installs a Camera3D node.

ParameterTypeDescription
parent_path *string
currentboolean
node_name

add_light_3d

[Full] Adds a 3D light source.

ParameterTypeDescription
parent_path *string
color
energy
light_typestring
node_name

add_mesh_instance

[Full] Places a primitive mesh (box, sphere, capsule, cylinder, plane, prism, torus).

ParameterTypeDescription
parent_path *string
mesh_properties
mesh_typestring
node_name

set_mesh_material

[Full] Applies a saved material to a mesh's surface.

ParameterTypeDescription
material_path *string
node_path *string
surface_indexinteger

create_material

[Full] Generates a StandardMaterial3D resource.

ParameterTypeDescription
path *string
properties

create_material_preset

[Full] Generates a material preset ("metal", "plastic", "glass", or "matte").

ParameterTypeDescription
path *string
preset *string

set_material_property

[Full] Modifies an existing material resource's properties and re-saves it.

ParameterTypeDescription
path *string
properties *object

add_csg_shape

[Full] Places CSG geometry (box, sphere, cylinder, torus).

ParameterTypeDescription
parent_path *string
node_name
operation
shape_typestring

set_csg_operation

[Full] Modifies a CSG shape's boolean operation ("union", "intersection", or "subtraction").

ParameterTypeDescription
node_path *string
operation *string

add_decal

[Full] Places a decal projector.

ParameterTypeDescription
parent_path *string
node_name
texture_pathstring

add_reflection_probe

[Full] Installs a reflection probe.

ParameterTypeDescription
parent_path *string
node_name

add_subviewport

[Full] Creates a render target viewport.

ParameterTypeDescription
parent_path *string
node_name
size

add_bone_attachment_3d

[Full] Attaches a node to a skeleton bone.

ParameterTypeDescription
parent_path *string
bone_namestring
node_name

add_gridmap

[Full] Creates a 3D tile grid system.

ParameterTypeDescription
parent_path *string
cell_size
mesh_library_pathstring
node_name

gridmap_set_cell

[Full] Paints a single 3D grid cell.

ParameterTypeDescription
coords *object
item *integer
node_path *string
orientationinteger

add_text_mesh

[Full] Creates 3D extruded text geometry.

ParameterTypeDescription
parent_path *string
depth
font_size
node_name
textstring

create_terrain

[Full] Generates a procedural noise-displaced terrain mesh.

ParameterTypeDescription
parent_path *string
cell_sizenumber
depthinteger
frequencynumber
height_scalenumber
node_name
seedinteger
widthinteger

scatter_multimesh

[Full] Distributes randomly-placed mesh instances within a box area.

ParameterTypeDescription
parent_path *string
area
countinteger
mesh_properties
mesh_typestring
node_name
seedinteger

add_spring_arm

[Full] Creates a third-person camera boom.

ParameterTypeDescription
parent_path *string
length
node_name

add_global_illumination

[Full] Installs a VoxelGI probe. SDFGI is a WorldEnvironment-level setting, not a node — use set_environment_effects for that instead.

ParameterTypeDescription
parent_path *string
node_name

add_environment

[Full] Creates a lit Environment resource file.

ParameterTypeDescription
path *string
properties

set_environment_effects

[Full] Configures a WorldEnvironment node's Environment (creating one if it has none).

ParameterTypeDescription
node_path *string
properties *object

look_at_node

[Full] Orients a Node3D to face another node.

ParameterTypeDescription
node_path *string
target_node_path *string
up

set_node_transform_3d

[Full] Modifies a Node3D's position/rotation/scale.

ParameterTypeDescription
node_path *string
position
rotation_degrees
scale

set_window_settings

Configures display parameters (viewport size, resizable, window mode).

ParameterTypeDescription
height
mode
resizable
width

set_main_scene

Designates the project's startup scene.

ParameterTypeDescription
path *string

get_project_setting

Reads a project setting value.

ParameterTypeDescription
key *string

set_project_setting

Modifies a project setting value.

ParameterTypeDescription
key *string
value *

add_autoload

Registers a singleton autoload.

ParameterTypeDescription
name *string
path *string

remove_autoload

Unregisters an autoload.

ParameterTypeDescription
name *string

list_plugins

[Full] Catalogs installed editor plugins (from res://addons/*/plugin.cfg).

enable_plugin

[Full] Toggles a plugin's activation state.

ParameterTypeDescription
plugin_folder *string
enabledboolean

activate_license

Activate a GodotBridge Full license key. The key is validated offline (Ed25519 signature) and held in memory only — it will not survive a server restart. Alternatively set the GODOT_MCP_LICENSE_KEY environment variable. Pure Python — no Godot connection needed.

ParameterTypeDescription
license_key *string

get_license_info

Return the current license tier (lite or full) and details. Pure Python — no Godot connection needed.

list_tools

Enumerates every tool this MCP server exposes, with category, description, and tier. Pure Python — no Godot connection needed.

godot_guide

Retrieves a short best-practice guide. Omit topic to list available guide names. Pure Python — no Godot connection needed.

ParameterTypeDescription
topicstring

list_classes

Catalogs Godot engine classes, optionally filtered by base class and instantiability.

ParameterTypeDescription
inheritsstring
instantiable_onlyboolean

describe_class

Details a Godot class's parent, properties, methods, and signals.

ParameterTypeDescription
class_name *string

run_editor_script

[Full] Executes arbitrary GDScript in the editor process. Runs with full editor privileges — no sandboxing exists. The code becomes the body of a run(ei) function; whatever it returns becomes the result.

ParameterTypeDescription
code *string

list_export_presets

[Full] Catalogs the project's configured export presets.

export_project

[Full] Builds the project with a named export preset. Requires export templates installed for the target platform (separate one-time editor setup).

ParameterTypeDescription
output_path *string
preset_name *string
debugboolean

add_multiplayer_spawner

[Full] Creates a scene replication spawner node.

ParameterTypeDescription
parent_path *string
node_name
spawn_pathstring
spawnable_scenes

add_multiplayer_synchronizer

[Full] Creates a property-replication node. replicated_properties is a list of NodePath-style property paths (e.g. "Player:position").

ParameterTypeDescription
parent_path *string
node_name
replicated_properties
root_pathstring

create_multiplayer_setup

[Full] Scaffolds a MultiplayerSpawner wired to spawn a player scene under parent_path.

ParameterTypeDescription
parent_path *string
node_name
player_scene_pathstring

check_all_scripts

Compile-checks every .gd script in the project (excluding this addon's own files).

get_node_warnings

Lists editor configuration warnings for a node (and its descendants), or the whole open scene. Only detects warnings from a @tool-annotated GDScript that overrides _get_configuration_warnings(); built-in engine nodes and nodes with a non-tool script are silently omitted (not reachable via GDScript reflection in the editor process) rather than faked.

ParameterTypeDescription
node_pathstring

project_health_report

Runs a comprehensive project audit: statistics, unused resources, dependency cycles, script validity, node warnings.

tilemap_paint_terrain

[Full] Applies autotile terrain connection rules to a set of TileMap cells.

ParameterTypeDescription
cells *array
node_path *string
layerinteger
terraininteger
terrain_setinteger

paint_gridmap_region

[Full] Fills a 3D box region of GridMap cells with an item.

ParameterTypeDescription
from_ *object
item *integer
node_path *string
to *object

add_day_night_cycle

[Full] Scaffolds a rotating DirectionalLight3D driven by a looping AnimationPlayer cycle.

ParameterTypeDescription
parent_path *string
durationnumber
light_name
node_name

add_minimap

[Full] Creates a minimap UI rig (a SubViewport rendering a top-down Camera2D, shown in a container).

ParameterTypeDescription
parent_path *string
node_name
size
zoomnumber

create_export_preset

[Full] Generates a new export preset configuration.

ParameterTypeDescription
name *string
platform *string
export_pathstring

add_translation

[Full] Registers a translation resource with the project.

ParameterTypeDescription
path *string

set_locale

[Full] Changes the active/default project language.

ParameterTypeDescription
locale *string

align_nodes

[Full] Aligns Node2D/Control nodes along an axis.

ParameterTypeDescription
node_paths *array
align_tostring
axisstring

distribute_nodes

[Full] Spaces Node2D/Control nodes evenly along an axis between the first and last (sorted by position).

ParameterTypeDescription
node_paths *array
axisstring
spacing

import_external_asset

[Full] Copies a file from outside the project into res:// and triggers import.

ParameterTypeDescription
dest_path *string
source_path *string

create_main_menu

[Full] Scaffolds a main menu scene (title + Play/Quit buttons).

ParameterTypeDescription
path *string
titlestring

create_pause_menu

[Full] Builds a pause menu scene (CanvasLayer, PROCESS_MODE_ALWAYS so it works while paused).

ParameterTypeDescription
path *string

create_settings_menu

[Full] Generates a settings menu scene (volume slider, fullscreen checkbox, Back button).

ParameterTypeDescription
path *string

create_save_system

[Full] Implements save/load infrastructure (a JSON-backed save_game/load_game script), optionally auto-registered as an autoload.

ParameterTypeDescription
pathstring
register_autoloadboolean
save_pathstring

play_multiplayer

[Full] Launches multiple additional Godot process instances of this project for local multiplayer testing.

ParameterTypeDescription
instance_countinteger
scene_path

create_skeleton

[Full] Generates a custom Skeleton3D node.

ParameterTypeDescription
parent_path *string
node_name

create_skeleton_2d

[Full] Scaffolds a 2D skeletal rig (Skeleton2D node).

ParameterTypeDescription
parent_path *string
node_name

add_bone

[Full] Appends a bone to a Skeleton3D.

ParameterTypeDescription
bone_name *string
node_path *string
parent_bone_index
rest_position

set_bone_rest

[Full] Modifies a bone's rest transform.

ParameterTypeDescription
bone_index *integer
node_path *string
position

get_skeleton_info

[Full] Lists a Skeleton3D's bone hierarchy (names, parent indices, rest transforms).

ParameterTypeDescription
node_path *string

set_bone_pose

[Full] Adjusts a bone's pose transform (position/rotation/scale, relative to rest).

ParameterTypeDescription
bone_index *integer
node_path *string
position
rotation
scale

reset_bone_poses

[Full] Restores every bone's pose to its rest transform.

ParameterTypeDescription
node_path *string

get_mesh_info

[Full] Retrieves mesh surface details (vertex counts, blend shape names) for a MeshInstance3D.

ParameterTypeDescription
node_path *string

set_blend_shape

[Full] Adjusts a blend shape (morph target) value on a MeshInstance3D, by name or index.

ParameterTypeDescription
node_path *string
value *number
blend_shape_index
blend_shape_name

list_model_animations

[Full] Catalogs an AnimationPlayer's animations (works for both imported model animations and hand-authored ones).

ParameterTypeDescription
node_path *string

create_bone_map

[Full] Generates a BoneMap resource (retargeting map) using the humanoid skeleton profile, and saves it.

ParameterTypeDescription
path *string

auto_bone_map

[Full] Best-effort auto-maps a skeleton's bones to the humanoid profile by case-insensitive name matching. Not the editor's full fuzzy-matching heuristic — treat the result as a starting point to review, not a guaranteed-correct map.

ParameterTypeDescription
node_path *string
pathstring

add_look_at_modifier

[Full] Attaches a look-at constraint (LookAtModifier3D) targeting a given bone.

ParameterTypeDescription
parent_path *string
bone_namestring
node_name

add_ik_chain

[Full] Creates an inverse-kinematics chain (SkeletonIK3D) from a root bone to a tip bone.

ParameterTypeDescription
parent_path *string
node_name
root_bonestring
target_node_pathstring
tip_bonestring

add_csg_polygon

[Full] Extrudes a 2D outline into 3D geometry (CSGPolygon3D).

ParameterTypeDescription
parent_path *string
points *array
depth
modestring
node_name

add_occluder_3d

[Full] Installs occlusion culling geometry (OccluderInstance3D).

ParameterTypeDescription
parent_path *string
node_name

game_launch_process

[Full] Launches the game as a standalone OS subprocess this server owns directly (using the godot_executable/project_path reported by get_project_info), instead of going through the editor's Play action. This is what makes game_get_output/game_get_errors possible — the editor-Play path never exposes the played game's console output to GDScript. An alternative to play_scene/play_project, not a complement: don't run both against the same project at once. Every other game_* tool still works unchanged against a game launched this way.

ParameterTypeDescription
headlessboolean
scene_pathstring

game_stop_process

[Full] Stops the game subprocess started by game_launch_process, if any.

game_get_output

[Full] Returns buffered stdout (print() output) from a game_launch_process-launched game. Requires the game to have been started via game_launch_process, not play_scene/play_project.

game_get_errors

[Full] Returns buffered stderr (errors/warnings) from a game_launch_process-launched game. Requires the game to have been started via game_launch_process, not play_scene/play_project.

get_debugger_errors

Returns errors/warnings logged by the most recently played game (via play_scene/play_project or game_launch_process), read from the project's shared debug log file and filtered to ERROR:/WARNING:/SCRIPT ERROR: entries plus their backtrace/context lines.

search_asset_library

[Full] Searches Godot's public Asset Library (godotengine.org/asset-library) for addons matching a query, calling its REST API directly from this server (no GDScript/HTTPRequest involved).

ParameterTypeDescription
query *string
categorystring
godot_versionstring
max_resultsinteger

install_addon

[Full] Downloads an Asset Library addon by asset_id (from search_asset_library) and installs it into the project's res://addons/ folder, then triggers an editor file system rescan. Does not enable the plugin — call enable_plugin afterward if desired.

ParameterTypeDescription
asset_id *string

copy_file

Copies a file from one path to another within the project. Both paths should be res:// paths.

ParameterTypeDescription
destination *string
source *string

delete_file

Deletes a file from the project. The path must be a res:// path. Triggers a filesystem rescan after deletion.

ParameterTypeDescription
path *string

move_file

Moves (renames) a file from one path to another within the project. Both paths should be res:// paths. Triggers a filesystem rescan.

ParameterTypeDescription
destination *string
source *string

find_files

Searches the project for files matching a glob pattern (e.g. *.gd, *.tscn). Returns paths relative to res://.

ParameterTypeDescription
pattern *string
pathstring

search_in_files

Searches text content of project files for a string or regex pattern. Returns matching file paths and line numbers.

ParameterTypeDescription
query *string
file_patternstring
pathstring

create_directory

Creates a directory (and any missing parents) under the project. Path should be a res:// path.

ParameterTypeDescription
path *string

create_visual_shader

[Full] Create a VisualShader resource with a specified shader type (spatial, canvas_item, particles, sky, fog).

ParameterTypeDescription
path *string
shader_typestring

add_visual_shader_node

[Full] Add a node to a VisualShader graph (e.g. VisualShaderNodeVectorOp, VisualShaderNodeInput, VisualShaderNodeFloatConstant).

ParameterTypeDescription
node_type *string
path *string
idinteger
position

connect_visual_shader_nodes

[Full] Connect two nodes in a VisualShader graph (from_node/from_port to to_node/to_port).

ParameterTypeDescription
from_node *integer
from_port *integer
path *string
to_node *integer
to_port *integer

disconnect_visual_shader_nodes

[Full] Disconnect two nodes in a VisualShader graph.

ParameterTypeDescription
from_node *integer
from_port *integer
path *string
to_node *integer
to_port *integer

remove_visual_shader_node

[Full] Remove a node from a VisualShader graph by its ID.

ParameterTypeDescription
node_id *integer
path *string

set_visual_shader_node_property

[Full] Set a property on a VisualShader node.

ParameterTypeDescription
node_id *integer
path *string
property *string
value *

get_visual_shader_info

[Full] Get information about a VisualShader resource (nodes, connections, shader type).

ParameterTypeDescription
path *string

configure_theme

[Full] Configure a Theme resource with type variations, colors, fonts, constants, and styleboxes in a single call. Creates the theme if it does not exist.

ParameterTypeDescription
path *string
colors
constants
font_sizes
styleboxes
type_variations

merge_theme

[Full] Merge properties from one Theme into another.

ParameterTypeDescription
source_path *string
target_path *string

get_curve_info

[Full] Get info about a Curve resource (point count, points data).

ParameterTypeDescription
path *string

get_gradient_info

[Full] Get info about a Gradient resource (point count, color stops).

ParameterTypeDescription
path *string

get_sprite_frames_info

[Full] Get info about a SpriteFrames resource (animation names, frame counts, fps).

ParameterTypeDescription
path *string

get_tileset_info

[Full] Get info about a TileSet resource (tile size, sources, layers).

ParameterTypeDescription
path *string

game_set_debug_draw

Set the debug draw mode on a viewport (wireframe, overdraw, etc.).

ParameterTypeDescription
modestring

list_game_instances

List currently running game instances started via game_launch_process.

get_export_status

Get the status of an export operation.

get_agent_content_info

Return information about the MCP agent (version, capabilities, tool count).

get_editor_errors

Get ALL log lines from the editor log file (unfiltered). Unlike get_debugger_errors which filters to ERROR:/WARNING:/SCRIPT ERROR: entries, this returns every line, giving a complete picture of editor output.

ParameterTypeDescription
max_linesinteger

create_image_studio_project

[Full] Create a new Image Studio pixel art project with the given canvas size and optional palette. A default background layer is created automatically.

ParameterTypeDescription
name *string
heightinteger
palette
widthinteger

inspect_image_studio_project

[Full] Get details about an Image Studio project including layers, dimensions, palette, animations, rig, and tile map configuration.

ParameterTypeDescription
project_path *string

update_image_studio_project

[Full] Update project settings such as canvas size, palette, or name. Canvas resize uses nearest-neighbour interpolation.

ParameterTypeDescription
project_path *string
heightinteger
namestring
palette
widthinteger

list_image_studio_projects

[Full] List all Image Studio projects found under res://image_studio/.

import_image_studio_asset

[Full] Import an external image file into an Image Studio project as a new layer. The image is resized to match the project canvas if dimensions differ.

ParameterTypeDescription
project_path *string
source_path *string
layer_namestring

import_image_studio_gif

[Full] Import a GIF file as an animation in an Image Studio project. Stores a reference for external frame extraction.

ParameterTypeDescription
gif_path *string
project_path *string
animation_namestring

export_image_studio_asset

[Full] Export an Image Studio project as a flattened PNG image. Optionally export only specific layers.

ParameterTypeDescription
output_path *string
project_path *string
formatstring
layers

export_image_studio_animations_zip

[Full] Export all animations in an Image Studio project as a ZIP file containing per-animation directories of PNG frames.

ParameterTypeDescription
output_path *string
project_path *string

export_image_studio_animation_gif

[Full] Export a single animation as an animated GIF. Since Godot lacks native GIF encoding, frames are exported as PNGs in a subdirectory.

ParameterTypeDescription
animation_name *string
output_path *string
project_path *string

configure_image_studio_animation

[Full] Configure animation settings such as FPS, looping, and frame indices. Creates the animation entry if it does not already exist.

ParameterTypeDescription
animation_name *string
project_path *string
fpsinteger
frames
loopboolean

configure_image_studio_rig

[Full] Configure a skeleton/rig for pixel art animation. Defines bones and which layer they bind to.

ParameterTypeDescription
project_path *string
bind_layerstring
bones

configure_image_studio_tile_map

[Full] Configure tile map grid settings for an Image Studio project.

ParameterTypeDescription
project_path *string
columnsinteger
rowsinteger
tile_heightinteger
tile_widthinteger

compose_image_studio_layers

[Full] Compose (flatten/merge) the specified layers into a new layer using alpha blending.

ParameterTypeDescription
layer_names *array
project_path *string
merge_modestring
output_layerstring

apply_image_studio_pixel_patch

[Full] Apply pixel-level edits to a specific layer. Each patch specifies an x, y coordinate and a hex color value.

ParameterTypeDescription
layer_name *string
patches *array
project_path *string

slice_image_studio_sheet

[Full] Slice a sprite sheet layer into individual frame layers based on a grid of frame_width x frame_height cells.

ParameterTypeDescription
frame_height *integer
frame_width *integer
project_path *string
margininteger
source_layerstring
spacinginteger

transform_image_studio_asset

[Full] Apply a geometric transform to one or all layers: flip_h, flip_v, rotate_90, rotate_180, rotate_270, or resize.

ParameterTypeDescription
operation *string
project_path *string
anglenumber
layer_namestring
scale_xnumber
scale_ynumber

set_image_studio_api_key

[Full] Store a PixelLab API key in memory for Image Studio generation (BYOK). The key is never written to disk and will not survive a server restart. Alternatively set the PIXELLAB_API_KEY environment variable.

ParameterTypeDescription
api_key *string

request_image_studio_generation

[Full] Generate pixel art via PixelLab AI and store the result as a new layer in the Image Studio project. Requires a PixelLab API key (see set_image_studio_api_key). The generated image matches the project's canvas dimensions.

ParameterTypeDescription
project_path *string
prompt *string
layer_namestring
stylestring

get_image_studio_generation_request

[Full] Check the status of a previously submitted generation request.

ParameterTypeDescription
request_id *string

list_image_studio_generation_requests

[Full] List all generation requests, optionally filtered to a specific project.

ParameterTypeDescription
project_pathstring

cancel_image_studio_generation_request

[Full] Cancel a pending generation request. Only requests with status "pending" can be cancelled.

ParameterTypeDescription
request_id *string

prepare_pixel_asset

[Full] Prepare a pixel art asset for game use: flatten all layers, optionally constrain to a max size, save as PNG, and write a .import file with the given import flags.

ParameterTypeDescription
output_path *string
project_path *string
import_flags
max_sizeinteger