get_context
Retrieve passages surrounding a specific search-result passage in reading order, with configurable before/after counts, to expand context from Zotero PDFs.
Instructions
Passages around passage seq of a work, in reading order (seq comes from 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": {
"item_key": "<item_key>",
"seq": "<seq>"
},
"name": "get_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seq | Yes | ||
| after | No | ||
| before | No | ||
| item_key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |