find_records
Filter records using MongoDB-style criteria, with optional sorting and pagination. Returns matching records and a cursor for more results.
Instructions
Filter records with structured criteria (no LLM roundtrip).
Args:
sift_id: The sift identifier
filter: Mongo-subset filter dict e.g. {"total": {"$gt": 1000}}
sort: Optional sort spec e.g. [["date", -1]]
limit: Max records to return (default 50)
cursor: Opaque pagination cursor from a previous call
Returns:
{"records": [...], "next_cursor": "..." | null}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sift_id | Yes | ||
| filter | Yes | ||
| sort | No | ||
| limit | No | ||
| cursor | No |