Get Chunk
get_chunkRetrieve a code chunk by ID with optional surrounding lines to expand semantic search results and inspect symbol definitions and usage details.
Instructions
Get a code chunk by ID with optional surrounding context. Returns code with symbol definitions and usage info. Use to expand on search results.
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": {
"chunk_id": "<chunk_id>"
},
"name": "get_chunk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chunk_id | Yes | Chunk ID from search_code results | |
| radius_lines | No | Lines of surrounding context to include (0-200) |