get_inventory
Retrieve inventory levels for products with filters for location and custom queries. Check stock availability directly from your Shopify store.
Instructions
Fetch inventory levels for products
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": "get_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| first | No | Number of items to fetch (default: 50) | |
| query | No | Filter query | |
| locationId | No | Filter by location ID |