list_collections
Search and paginate product collections in a Medusa v2 store, with optional field selection and results limits to control response size.
Instructions
List product collections.
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_collections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | ||
| limit | No | Max results (default 20). | |
| fields | No | Comma-separated field selection, e.g. 'id,title,status,*variants'. Use to keep responses small. | |
| offset | No | Results to skip (pagination). |