GetProductCategories
Retrieve product categories from Medusa with filtering, sorting, and pagination options to organize e-commerce inventory.
Instructions
Retrieve a list of product categories. The product categories can be filtered by fields such as id. The product categories 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": "GetProductCategories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | ||
| offset | No | ||
| limit | No | ||
| order | No | ||
| q | No | ||
| id | No | ||
| description | No | ||
| handle | No | ||
| parent_category_id | No | ||
| include_ancestors_tree | No | ||
| include_descendants_tree | No | ||
| created_at | No | ||
| updated_at | No | ||
| $and | No | ||
| $or | No | ||
| name | No |