list_script_functions
Parse GDScript files to extract functions, signals, and variables with parameters, return types, and line numbers for code analysis and navigation.
Instructions
Parse a GDScript file and return all functions, signals, and top-level variables with their names, parameters, return types, and line numbers.
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": "list_script_functions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Absolute path to the project directory | |
| scriptPath | Yes | Script path (res:// or relative to project) |