get_passage_context
Retrieve surrounding text passages from Zotero documents to provide context for specific search results, helping understand content in its original setting.
Instructions
Expand context around a specific passage.
Use after search_papers to get more context.
Args: doc_id: Document ID from search results chunk_index: Chunk index from search results window: Chunks before/after to include (1-5)
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": {
"doc_id": "<doc_id>",
"chunk_index": "<chunk_index>"
},
"name": "get_passage_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| chunk_index | Yes | ||
| window | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||