open_pit
Issue a point-in-time (PIT) against an index to obtain a pit_id, enabling consistent paging through large result sets past the 10,000-deep-paging limit.
Instructions
Open a point-in-time (PIT) against an index and return its pit_id. A PIT freezes the data view so you can page through a large result set consistently with paged_search, past the 10000 deep-paging limit. Always close it with close_pit when done; keep_alive controls how long ES holds it open.
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": {
"index": "<index>"
},
"name": "open_pit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| keep_alive | No | 1m |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |