Book a quote
book_quoteBooks a quote that is offered with booking: api, until binding_until. The booking is a binding, paid transport order under the stated terms (terms of the quote: terms_url and ADSp 2017, in the version terms_version). First call with confirmed: false to get the binding summary (nothing is booked) and show it to the human you act for; only then, after they agree, call again with the same arguments and confirmed: true.
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": {
"quote_id": "<quote_id>",
"idempotency_key": "<idempotency_key>",
"confirmed": "<confirmed>",
"pickup": "<pickup>",
"delivery": "<delivery>",
"pickup_date": "<pickup_date>",
"invoice_to": "<invoice_to>",
"insurance": "<insurance>",
"contact_email": "<contact_email>",
"accept_terms": "<accept_terms>",
"terms_version": "<terms_version>",
"authority_confirmed": "<authority_confirmed>",
"business_customer": "<business_customer>"
},
"name": "book_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pickup | Yes | Pickup address. Postal code and country are those of the quote. | |
| delivery | Yes | Delivery address. Postal code and country are those of the quote. | |
| quote_id | Yes | The quote_id from request_quote. It is a bearer secret: whoever knows it can book the quote. | |
| confirmed | Yes | false: return the binding summary only, nothing is booked. true: book. Show the summary to a person first. | |
| insurance | Yes | true to insure this shipment with a transport insurance on the goods value. | |
| reference | No | Your order reference. | |
| invoice_to | Yes | Who receives the invoice: sender (pickup address), recipient (delivery address) or other (invoice_address). | |
| pickup_date | Yes | Pickup date, YYYY-MM-DD; it must be a pickup day allowed for this quote. | |
| accept_terms | Yes | Must be true: you accept the terms (terms.terms_url and ADSp 2017) in the version terms_version. | |
| contact_email | Yes | E-mail for the order confirmation and for questions about this order. | |
| terms_version | Yes | Version of the terms you accept, as given in terms.terms_version of the quote. | |
| goods_value_eur | No | Value of the goods in EUR; needed for the insurance. | |
| idempotency_key | Yes | Required idempotency key of this call (over REST the header Idempotency-Key). It must have 8 to 128 characters from A-Z, a-z, 0-9, _ and -. Use a new key for each new request and the same key when you repeat a request. | |
| invoice_address | No | Invoice address. Required if invoice_to is other, not allowed otherwise. | |
| business_customer | Yes | Must be true: the customer is a business (entrepreneur under section 14 BGB), not a consumer. | |
| authority_confirmed | Yes | Must be true: you confirm that you may place this order for the named company. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||