Add a favorite product
add_favoriteSaves a product as one of the signed-in user's Bite favorites, so Bite prefers it when comparing baskets. Accepts product_id (a Bite product id from an earlier result) or query (the product as the user named it, e.g. "חלב תנובה 3%"). Example requests: "this milk is my favorite", "תוסיף למועדפים". Requires signing in to Bite.
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": "add_favorite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | Favorite group to add it to, e.g. "חלב". Defaults to the product's own name, so different products are not grouped; pass a group only to put products that substitute for each other together. | |
| query | No | The product name, Hebrew or English, when there is no product_id. | |
| product_id | No | Bite product id from compare_basket or find_product_prices. |