Skip to main content
Glama

replace_symbol_body

Replace function or symbol bodies in GDScript files with hash verification to prevent stale edits during Godot development.

Instructions

Replace the entire body of a function or symbol in a GDScript file. Hash-verified to prevent stale edits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesPath to the .gd file
symbolYesName of the symbol to replace
newBodyYesNew source code for the symbol
expectedHashNoExpected content hash of the file. If provided, edit is rejected on mismatch.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/woohq/godette-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server