read_file_symbol
Retrieve a function or class definition by name from a code file, using fuzzy matching to locate close matches.
Instructions
Read function/class by name. Fuzzy matching supported.
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": {
"symbol": "<symbol>"
},
"name": "read_file_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Relative path (also accepts file_path) | |
| symbol | Yes | Symbol name | |
| file_path | No | Alias for file |