add_recipe_to_cart
Parse a recipe or URL, match ingredients to products, and add them to a Shufersal or Tiv Taam cart using cheapest, preferred-store, or single-store buying.
Instructions
Parse a recipe, find best-matching products, and add them to a cart.
Args:
recipe_text: Recipe text or URL.
store_id: Which store to add to ("shufersal" or "tivtaam").
If omitted, uses your preferred_store or the cheapest per item.
strategy: "cheapest" — buy each item from its cheapest store.
"preferred_store" — use your preferred_store for everything.
"single_store" — use store_id for everything (requires store_id).
confirm_all: If True, add low-confidence matches without pausing.
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": {
"recipe_text": "<recipe_text>"
},
"name": "add_recipe_to_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store_id | No | ||
| strategy | No | cheapest | |
| confirm_all | No | ||
| recipe_text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |