GetCollections
Retrieve and filter product collections from Medusa's backend. Use this tool to sort, paginate, or search collections by handle, title, or other fields.
Instructions
Retrieve a list of collections. The collections can be filtered by fields such as handle. The collections can also be sorted or paginated.
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": "GetCollections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | ||
| offset | No | ||
| limit | No | ||
| order | No | ||
| title | No | ||
| created_at | No | ||
| updated_at | No | ||
| handle | No | ||
| q | No | ||
| $and | No | ||
| $or | No |