read_paged_request
Automatically pages through read-only GET endpoints that use skip/take parameters, collecting all records from list-style API calls until the total is reached or a max_records limit.
Instructions
Auto-page arbitrary read-only GET endpoints that use skip/take.
Use for list-style GET endpoints such as /api/Contact/ByTag/{tagId} or
/api/OrganizationGroup/{id}/contacts. If the first response is not a
{"list": [...], "total": N} envelope, the original response is returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Read-only GET API path beginning with /api/. | |
| params | No | Optional query params other than skip/take. | |
| page_size | No | GET records per page (max 1000). | |
| max_records | No | Stop after this many records (hard cap 10000). |