check_product_availability
Check if a product is in stock and get available quantity. Provide the product ID to receive current stock levels.
Instructions
Check whether a product is currently available and return its available stock quantity.
Use this when a customer asks whether a particular product is in stock.
The product ID is required.
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_product_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||