check_availability
Check product stock status by product ID and get availability, quantity, and current price to decide whether to place an order.
Instructions
Check if a specific product is currently in stock. Returns availability status, stock quantity, and current price.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"product_id": "<product_id>"
},
"name": "check_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | Product ID to check | |
| merchantSlug | No | Merchant identifier. Omit to use default. |