GetProducts
Retrieve and filter product lists by fields like id
, title
, or handle
. Sort, paginate, and query products for precise results using Medusa MCP Server.
Instructions
Retrieve a list of products. The products can be filtered by fields such as id
. The products can also be sorted or paginated.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
$and | No | ||
$or | No | ||
cart_id | No | ||
category_id | No | ||
collection_id | No | ||
country_code | No | ||
created_at | No | ||
fields | No | ||
handle | No | ||
id | No | ||
is_giftcard | No | ||
limit | No | ||
offset | No | ||
order | No | ||
province | No | ||
q | No | ||
region_id | No | ||
sales_channel_id | No | ||
tag_id | No | ||
title | No | ||
type_id | No | ||
updated_at | No | ||
variants | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"$and": {
"items": {
"type": "string"
},
"type": "array"
},
"$or": {
"items": {
"type": "string"
},
"type": "array"
},
"cart_id": {
"type": "string"
},
"category_id": {
"type": "string"
},
"collection_id": {
"type": "string"
},
"country_code": {
"type": "string"
},
"created_at": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"fields": {
"type": "string"
},
"handle": {
"type": "string"
},
"id": {
"type": "string"
},
"is_giftcard": {
"type": "boolean"
},
"limit": {
"type": "number"
},
"offset": {
"type": "number"
},
"order": {
"type": "string"
},
"province": {
"type": "string"
},
"q": {
"type": "string"
},
"region_id": {
"type": "string"
},
"sales_channel_id": {
"type": "string"
},
"tag_id": {
"type": "string"
},
"title": {
"type": "string"
},
"type_id": {
"type": "string"
},
"updated_at": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"variants": {
"additionalProperties": false,
"properties": {},
"type": "object"
}
},
"type": "object"
}