expand_source
Expand compact symbol signatures into full original source code using token-level source maps when implementation details are needed.
Instructions
Expand a symbol's compact signature to its full original source code using token-level source maps. Use this when the signature is not enough and you need the implementation.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "expand_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The symbol name to expand. Use either symbol_id or name, not both. | |
| symbol_id | No | The unique ID of the symbol to expand. Use either symbol_id or name, not both. | |
| end_offset | No | Ending byte offset in minified text (optional). If not provided, expands to the end of the symbol. | |
| start_offset | No | Starting byte offset in minified text (optional). If not provided, expands the full original source. |