Prepare an inquiry
request_inquiryPrepares an inquiry for one offer, for when the user has asked to inquire and given their email. voidjet emails the user a link; nothing is forwarded to the provider until the user opens it and sends the pre-filled form on voidjet.io within 48 hours. name, phone and message are optional, come from the user and only pre-fill the form. Prices are indicative.
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": {
"ref": "<ref>",
"email": "<email>",
"passengers": "<passengers>"
},
"name": "request_inquiry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ref exactly as returned by search_empty_legs. | |
| name | No | The user's name, only if the user gave it. | |
| Yes | The user's email address. | ||
| phone | No | The user's phone number, only if the user gave it. | |
| locale | No | Language of texts and links in the result: en or de. | en |
| message | No | Message to the provider in the user's own words, optional. | |
| flexible | No | True if the user is flexible on date and time. | |
| passengers | Yes | Number of passengers travelling. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| message | Yes | ||
| expires_at | Yes |