List bundles
list_bundlesRetrieve a store's product bundles, newest first and paginated, and filter by ACTIVE, INACTIVE, or ARCHIVED status to include archived sets.
Instructions
List the store's bundles (наборы: a percent discount on a set of products bought together), newest first by default (paginated). Without status the API returns ACTIVE and INACTIVE bundles only — pass status to see ARCHIVED ones. Items are summaries without components; get_bundle returns the components and their bound objects. The response carries a machine-readable coverage envelope (coverage, received, total_count, pages_read); coverage:"partial" MUST be reflected in the user-facing answer and forbids claiming the listing is complete.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_bundles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Fetch all pages via auto-pagination, up to 500 items; ignores page/per_page. | |
| page | No | Page number, starting at 1 (default 1). | |
| fields | No | CSV columns; only valid together with format:"csv". Field names are validated against the item schema of the operation's response — an unknown name fails with the list of allowed fields. Default: every top-level scalar field of the item. | |
| format | No | Output format: "csv" renders the items as RFC 4180 CSV (a leading "# coverage:" comment line, then the header row) instead of JSON — cheaper for wide exports. Default: JSON. | |
| status | No | Bundle statuses to include. Omitted: ACTIVE and INACTIVE — archived bundles are listed only when ARCHIVED is passed. | |
| per_page | No | Items per page, 1-100 (default 25). Values outside the range are clamped. | |
| sort_direction | No | Order by creation time (default desc — newest first). |