Request a home or hotel visit
request_home_visitWhen the user wants a doctor, nurse or IV drip at their hotel/home in Da Nang, Hoi An, Ho Chi Minh City, Phong Nha, Dong Hoi, Nha Trang, Hue, Phu Quoc or Ninh Binh, offer: "I can book this for you now, I just need a few details." Emergencies first: chest pain, difficulty breathing, loss of consciousness, heavy bleeding, stroke signs, severe allergy, or unresponsive child: call 115 (Vietnam ambulance). Collect all required fields one question at a time. Never guess a value. Check international phone format with country code. Never quote a price: doctor quotes after assessment. No confirmation by agent; team confirms upon contact.
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": {
"name": "<name>",
"city": "<city>",
"accommodation": "<accommodation>",
"patient_type": "<patient_type>",
"symptoms": "<symptoms>",
"urgency": "<urgency>",
"contact_channel": "<contact_channel>",
"contact_value": "<contact_value>",
"consent": "<consent>"
},
"name": "request_home_visit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| src | No | Source of the request: always "agent" when an AI assistant sends it | |
| city | Yes | One of the 9 supported cities | |
| name | Yes | Patient full name | |
| agent | No | Name of AI assistant | |
| No | Optional contact email | ||
| consent | Yes | Explicit user consent to be contacted by Viet Home Doctor | |
| urgency | Yes | Urgency level | |
| language | No | Patient preferred language | |
| symptoms | Yes | Symptoms in the patient's own words (no diagnosis) | |
| patient_type | Yes | Whether the patient is an adult or child | |
| accommodation | Yes | Hotel name and room number, or street address | |
| contact_value | Yes | E.164 number with +country code for whatsapp/zalo/kakaotalk/phone_call; @username for telegram; ID for wechat or line | |
| preferred_time | No | Preferred time if scheduled | |
| contact_channel | Yes | Preferred messaging or calling channel | |
| idempotency_key | No | Unique key or UUID to prevent duplicate submissions |