read_file
Reads files in Godot projects with enriched output: parses GDScript symbols from .gd files and extracts scene structure from .tscn files.
Instructions
Read a file with Godot-enriched output. For .gd files, includes parsed symbols. For .tscn files, includes scene structure.
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": {
"path": "<path>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file to read |