Get class documentation
godot_api_docRetrieve comprehensive reference documentation for any Godot class, including inheritance, methods, properties, signals, and constants.
Instructions
Return the reference documentation for a Godot class: inheritance, description, methods, properties, signals and constants.
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": {
"class_name": "<class_name>"
},
"name": "godot_api_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| members | No | Include methods/properties/signals (off for just the summary). | |
| version | No | Godot version to use, e.g. "4.7", "4.7-stable", "stable"/"latest". Defaults to the project's declared version, then the latest stable release. | |
| class_name | Yes | Exact class name, e.g. "Node2D" (case-sensitive). | |
| project_root | No | Path to the Godot project root (folder containing project.godot). Defaults to $GODOT_PROJECT_ROOT or an upward search from the working directory. | |
| response_format | No | Output format. "markdown" is human-readable; "json" is structured. | markdown |