symbol_source
Get line-numbered source for one code symbol or a path:start-end range to inspect exact code without reading the whole file.
Instructions
Source text of one symbol (or path:start-end range) with line numbers. Cheaper than reading the 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": {
"target": "<target>"
},
"name": "symbol_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| target | Yes | ||
| context | No | ||
| max_lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |