Look up the Godot 4.7 API
godot_apiLook up exact Godot 4.7 class, member, enum, annotation, or global function details offline before calling engine APIs. Get inheritance-aware info, close matches, and Godot 3-to-4 name mappings.
Instructions
Exact lookup in the official Godot 4.7 class reference, offline: Class, Class.member, Class.Enum.VALUE, @annotation or a global function. A class gives its parents, properties with defaults, methods, signals and enums; a member gives its exact signature and description, found through inheritance. Use it before calling any engine API you are not sure about; when you do not know the exact name, use godot_api_search first. detail brief gives the signature and the first paragraph; full gives the whole entry. An unknown name returns an error with close matches, and a Godot 3 name with its Godot 4 name. It changes no project files; when learning is on, it counts the lookup in Godotwright's local learning file so later misses get better hints (GODOTWRIGHT_LEARN=0 turns that off).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "godot_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | e.g. CharacterBody2D.move_and_slide, Node.ready, @export_range, lerp, Tween | |
| detail | No | brief (capped lists) or full (everything); default full |