read_symbol
Retrieves an indexed symbol's source range, body, and surrounding line using a stable symbol ID from outline_file, so you can inspect exact code without searching.
Instructions
Returns one indexed symbol's source range, body, and one line of surrounding context. Obtain the stable symbol ID from outline_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": {
"repository_root": "<repository_root>",
"symbol_id": "<symbol_id>"
},
"name": "read_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol_id | Yes | Stable indexed symbol ID returned by outline_file. | |
| repository_root | Yes | Absolute path to the Git repository root to explore. |