check_availability
Check product availability and pricing by barcode to retrieve store information and last-updated timestamp.
Instructions
Check real-time product availability and pricing.
Fetches current product data and returns availability status, store information, and last-updated timestamp.
Note: Open Food Facts is a community database — availability reflects reported store data, not real-time inventory.
Args: product_id: Product barcode/EAN to check
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||