analyze_script
Extract the class structure from a GDScript file, including extends, functions, variables, signals, and enums, to understand the code's organization.
Instructions
Analyze a GDScript file to extract its class structure (extends, functions, variables, signals, enums).
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": {
"projectPath": "<projectPath>",
"scriptPath": "<scriptPath>"
},
"name": "analyze_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project | |
| scriptPath | Yes | Path to the script (relative to project, e.g. scripts/player.gd) |