Vendor costs and hours
tf_vendor_infoGet a vendor's delivery fee, minimum order, packaging, ETA, hours, address, and live open status for a location to compare true order cost before recommending.
Instructions
Get a vendor's delivery fee to a point, minimum order, packaging, ETA, open_now, hours, address and rating spread.
Use before recommending a vendor: true cost = dish price + packaging + delivery_fee, and the basket must reach min_order. Coupons are not exposed. open_now is the live state the site shows; status other than 'Open' (Close, or OutOfCoverage = will not deliver here) makes it false. eta_max is the site's "up to N minutes".
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": {
"vendor_code": "<vendor_code>",
"lat": "<lat>",
"long": "<long>"
},
"name": "tf_vendor_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Delivery point latitude, e.g. 35.7577. | |
| long | Yes | Delivery point longitude, e.g. 51.4095. | |
| vendor_code | Yes | Vendor code, e.g. '2y97wk' (from tf_search_vendors / tf_restaurants). |