gd_lsp_symbols
Retrieve functions, variables, and classes defined in a GDScript file to navigate code structure.
Instructions
Gets the document symbols (functions, variables, classes) for a given GDScript file.
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": {
"filePath": "<filePath>"
},
"name": "gd_lsp_symbols"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the .gd file |