GetProducts
Retrieve product listings from Medusa with filtering, sorting, and pagination options to manage inventory data efficiently.
Instructions
Retrieve a list of products. The products can be filtered by fields such as id. The products 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": "GetProducts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | ||
| offset | No | ||
| limit | No | ||
| order | No | ||
| $and | No | ||
| $or | No | ||
| q | No | ||
| id | No | ||
| title | No | ||
| handle | No | ||
| is_giftcard | No | ||
| collection_id | No | ||
| tag_id | No | ||
| type_id | No | ||
| created_at | No | ||
| updated_at | No | ||
| region_id | No | ||
| province | No | ||
| sales_channel_id | No | ||
| category_id | No | ||
| variants | No | ||
| country_code | No | ||
| cart_id | No |