Pagination
List endpoints return results one page at a time. Send page_size for how many you want. Each response carries next_page_token: pass it as page_token to get the next page, and stop when it comes back empty.
Responses also carry prev_page_token, to page back, and total_size, the count across all pages.
Endpoints that page
| Endpoint | Max page_size |
|---|---|
| List connected accounts | 99 |
| Search connected accounts | 30 |
| List tools | 1000 (default 300) |
| List a user's scoped tools | No set limit |
| List tools available to a user | No set limit |
| List Virtual MCP servers | 30 |
Good to know
- Page tokens are opaque. Pass them back as they are; don't build or parse them.
- Send the same filters with every page, such as
connectororidentifier. - The Node.js list methods take
pageSizeandpageTokenand returnnextPageToken. In Python,actions.list_toolsandtools.list_scoped_toolstakepage_sizeandpage_token; to page through connected accounts from Python, call the REST endpoint withpage_token.