get_node_insights
Parse a GDScript file into structured JSON detailing its class, inheritance, signals, exports, variables, methods, and dependencies for quick script analysis.
Instructions
Understand a GDScript file (.gd): class name, extends, signals, exports, variables, methods, and dependencies. Returns structured JSON so the agent can understand a script without reading raw code.
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": "get_node_insights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scriptPath | Yes | Path to the script file (relative to project) | |
| projectPath | Yes | Path to the Godot project directory | |
| includeMethods | No | Include method names (default: true) | |
| includeVariables | No | Include variable declarations (default: true) | |
| includeDependencies | No | Include dependency analysis (default: true) |