get_godot_class_member
Get the exact signature and full description of any Godot class member to verify API calls, avoiding 3.x vs 4.x mismatches. Handles overloaded names and suggests closest 4.x equivalents.
Instructions
Return the exact signature and full description of one member of one class. Use this to confirm a signature before writing a call: Godot's API changed substantially between 3.x and 4.x, and a remembered signature is often the 3.x one. Several members can share a name -- Godot overloads constructors and operators -- so members may hold more than one. If the name is wrong, the error names the closest members the class does declare, which is usually where a 3.x name is corrected to its 4.x form.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class_name | Yes | The class name, exactly as the engine spells it, e.g. 'Node2D'. | |
| member_kind | No | Restrict to one kind, for the few names a class uses for members of more than one kind. | |
| member_name | Yes | The member name, e.g. 'move_and_slide'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | What to call next to see what was omitted, or to narrow the request. Empty when nothing was left out. | |
| members | No | Every member of that name, in declaration order. | |
| truncated | No | Whether content was omitted to stay within the budget. | |
| class_name | Yes | The owning class. | |
| member_name | Yes | The member name that was requested. |