GetRegions
Retrieve and filter region data from Medusa's backend, enabling sorting, pagination, and field-based queries for efficient data management.
Instructions
Retrieve a list of regions. The regions can be filtered by fields such as id. The regions 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": "GetRegions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | ||
| offset | No | ||
| limit | No | ||
| order | No | ||
| q | No | ||
| id | No | ||
| name | No | ||
| currency_code | No | ||
| $and | No | ||
| $or | No |