get_chunk_context
Fetch neighboring chunks around a chunk_id to expand document context before and after a search hit.
Instructions
Fetch contextual neighbor chunks surrounding a chunk_id from the same file. Expands awareness of the document before and after a search hit.
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_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chunk_id | Yes | ||
| after_chunks | No | ||
| before_chunks | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||