he_send_first_message
Send a first message to a property owner to open an exchange negotiation, providing dates and guest count. Confirm with user before sending.
Instructions
Send a first contact message to a property owner, creating a new conversation. exchange_type: 1=reciprocal, 2=guestpoints (omit to let API decide based on calendar). IMPORTANT: ask user confirmation before sending.
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": {
"receiverId": "<receiverId>",
"homeId": "<homeId>",
"content": "<content>",
"startOn": "<startOn>",
"endOn": "<endOn>",
"nbGuest": "<nbGuest>"
},
"name": "he_send_first_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endOn | Yes | End date (YYYY-MM-DD) | |
| homeId | Yes | Home ID of the property to contact | |
| content | Yes | Message text to send | |
| nbGuest | Yes | Number of guests | |
| startOn | Yes | Start date (YYYY-MM-DD) | |
| receiverId | Yes | User ID of the property owner | |
| exchangeType | No | 1=reciprocal, 2=guestpoints (optional) | |
| senderHomeId | No | Your own home ID to propose for reciprocal exchange (optional) |