Ask about a long-term offer
request_long_term_offerUse when the person wants one long-term package. By default returns use_web_form and continue_url without customer or consents: give the person the form and do not collect contact details. If direct inquiries are enabled, ask for privacy policy and marketing consent before submitting contact details. The office then contacts the person; this is not a booking. Example: {"car_id":"<car_id>","rent_length":"year1","mileage_limit":36000,"customer_type":"business","customer":{"first_name":"Anna","last_name":"Nowak","email":"anna@example.com","phone":"+48500600700"},"consents":{"privacy_policy":true,"marketing":false}}.
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": {
"car_id": "<car_id>",
"rent_length": "<rent_length>"
},
"name": "request_long_term_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| car_id | Yes | An offer's car_id from search_long_term_offers. | |
| market | No | ||
| consents | No | Required only for direct submission after asking the person. | |
| customer | No | Required only for direct submission, never for a web handoff. | |
| rent_length | Yes | ||
| customer_type | No | business | |
| mileage_limit | No | A package's mileage_limit from the offer; null when it is individually priced. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| links | No | ||
| status | No | ok | |
| inquiry | No | ||
| messages | No | ||
| policies | No | ||
| replayed | No | ||
| expires_at | No | ||
| next_steps | No | ||
| continue_url | No | ||
| content_language | No |