get_multiple_excerpts
Retrieve specific text excerpts from a document snapshot using provided chunk IDs, returning up to five excerpts in requested order.
Instructions
Return one to five bounded evidence excerpts in requested chunk_id order; all IDs must belong to the selected document and snapshot.
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": {
"library_id": "<library_id>",
"snapshot_id": "<snapshot_id>",
"document_id": "<document_id>",
"chunk_ids": "<chunk_ids>"
},
"name": "get_multiple_excerpts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chunk_ids | Yes | ||
| library_id | Yes | A stable library_id returned by retrieval_status. | |
| document_id | Yes | A document_id from the selected snapshot. | |
| snapshot_id | Yes | A snapshot_id returned for the explicit library_id. | |
| per_item_chars | No |