Prepare an order for review / הכנת הזמנה לבדיקה
create_order_draftSaves the order details the person provided for 48 hours and returns a checkout URL where they are prefilled. Creates no account, order, charge or message. The person reviews, accepts the terms and pays on the site. / שומר ל-48 שעות את פרטי ההזמנה שהלקוח מסר ומחזיר קישור לעמוד ההזמנה שבו הם ממולאים מראש. לא נוצרים חשבון, הזמנה, חיוב או הודעה. הלקוח בודק, מאשר את התנאים ומשלם באתר.
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": {
"plan_size": "<plan_size>",
"city": "<city>",
"full_name": "<full_name>",
"email": "<email>",
"phone": "<phone>",
"person_confirmed": "<person_confirmed>"
},
"name": "create_order_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City or locality, Hebrew or English / עיר או יישוב | |
| Yes | The person's own email / המייל של הלקוח | ||
| floor | No | Floor / קומה | |
| phone | Yes | Israeli mobile number, 05XXXXXXXX / טלפון נייד | |
| street | No | Street name / רחוב | |
| dish_ids | No | Dish ids from get_menu, up to plan_size / מזהי מנות מ-get_menu | |
| apartment | No | Apartment / דירה | |
| full_name | Yes | The person's first and last name / שם מלא | |
| plan_size | Yes | Meals per week / מספר מנות בשבוע | |
| delivery_day | No | Preferred delivery day / יום משלוח מועדף | |
| house_number | No | House number / מספר בית | |
| idempotency_key | No | Optional: the same key returns the same link | |
| person_confirmed | Yes | The person confirmed these are their details and asked for the order to be prepared / הלקוח אישר את הפרטים |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote | Yes | ||
| summary | Yes | ||
| draft_id | Yes | ||
| next_step | Yes | ||
| expires_at | Yes | ||
| source_url | Yes | ||
| valid_until | Yes | ||
| checkout_url | Yes | ||
| generated_at | Yes | ||
| allergy_notice | Yes |