Recalculate price with extras
booking_detail_modApply customer selections and return server-recalculated booking details.
Copy id_boat and id_tbf1 from search_boats. Sedna is the only source of truth for prices: never calculate totals in the LLM. Send selected extras, passenger count, currency, ports and payment options here, then present the complete updated summary returned by the server. This is a stateless price preview and does not save the selection. If the customer proceeds, repeat the complete selected_extras list in booking_create. When the customer asks for the new total, quote customer_cost_summary.full_customer_cost. Explain payable_now and payable_at_base separately; never add them in the LLM, and keep the refundable deposit separate.
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": {
"id_tbf1": "<id_tbf1>",
"id_boat": "<id_boat>",
"dateStart": "<dateStart>",
"dateEnd": "<dateEnd>",
"pax": "<pax>"
},
"name": "booking_detail_mod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pax | Yes | Number of passengers. | |
| dateEnd | Yes | End date in DD/MM/YYYY format. | |
| id_boat | Yes | Exact yacht ID returned by search_boats. | |
| id_tbf1 | Yes | Exact pricing ID returned by search_boats. | |
| dateStart | Yes | Start date in DD/MM/YYYY format. | |
| selected_extras | No | Selected extras with id_opt, selected and quantity. | |
| arrival_selected | No | Selected arrival port ID. | |
| currency_id_devise | No | Currency ID present in booking_detail rates. | |
| departure_selected | No | Selected departure port ID. | |
| arrival_port_pay_option | No | base or now. | |
| departure_port_pay_option | No | base or now. |