insert_after_symbol
Add code after specific symbols in GDScript files to modify Godot game projects. This tool enables targeted script editing by inserting content at defined locations.
Instructions
Insert content after a named symbol in a GDScript file.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the .gd file | |
| symbol | Yes | Name of the symbol to insert after | |
| content | Yes | Content to insert | |
| expectedHash | No | Expected content hash of the file. If provided, edit is rejected on mismatch. |