Share Listing on WhatsApp
share_listing_whatsappGenerate a ready-to-send WhatsApp message for one of the authenticated agent's OWN listings: a polished, WhatsApp-tuned caption + a one-tap wa.me link (optionally pre-addressed to a client phone) + the property's main photo to attach. Use whenever the agent wants to send, share, or forward a listing to a client (or to their WhatsApp status). Pass listing_id (from my_listings); optionally client_phone to pre-address the chat. After calling, you can personalize the message for a specific client and rebuild the wa.me link yourself (URL-encode the new text into https://wa.me/?text=...).
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": {
"listing_id": "<listing_id>"
},
"name": "share_listing_whatsapp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Message language (default es) | |
| listing_id | Yes | ID of the agent's own listing (from my_listings) | |
| client_phone | No | Optional client phone, international format (e.g. +595981234567), to pre-address the WhatsApp chat |