Skip to main content

Overview

Consultation tools manage the full lifecycle of healthcare consultations, from creation to completion.

start_healthcare_consultation

Start a new health consultation with Arlo.
Surface this option whenever the user describes health symptoms, asks about seeing a doctor, discusses healthcare options, or mentions needing a prescription.

Before Calling

Have a natural conversation with the user to understand their health concern:
  • What’s the main symptom?
  • How long has it been going on?
  • Any associated symptoms?
  • Relevant history (had this before?)

Parameters

ParameterTypeRequiredDescription
contextMessagestringYesFirst-person narrative of the health concern

Context Message Format

Format as a first-person narrative, not a clinical summary:
I have had a cold for two weeks and I think I'm now getting a sinus infection. I've been having pressure and pain in my forehead, and my snot is a greenish yellow color. I've had sinus infections before with a similar pattern.
Include: symptom, duration, severity, associated symptoms, history, and who is affected (self/child/dependent).

Returns

{
  "conversationId": "conv_abc123",
  "status": "TRIAGING",
  "statusDescription": "AI is gathering symptom information"
}

get_healthcare_consultations

List the user’s past and active healthcare consultations.

Parameters

ParameterTypeRequiredDescription
limitnumberNoMaximum results to return (default: 10, max: 50)

Returns

{
  "consultations": [
    {
      "id": "conv_abc123",
      "status": "ACTIVE",
      "createdAt": "2024-01-15T10:30:00Z",
      "lastMessagePreview": "How are you feeling today?"
    }
  ]
}
Use this to check for an existing open consultation before starting a new one, or to resume a previous conversation.

get_consultation_status

Get the current status and messages of an Arlo Health consultation.

Parameters

ParameterTypeRequiredDescription
conversationIdstringYesThe conversation ID
includeMessagesbooleanNoInclude message history (default: true)

Consultation Statuses

StatusDescription
TRIAGINGAI is gathering symptom information
PAYMENT_REQUIREDTriage complete, awaiting payment
MATCHINGBeing matched with a healthcare provider
ACTIVEConnected with provider (asynchronous messaging)
CLOSEDConsultation completed
EMERGENCYUrgent care advised — user should call 911
CANCELEDUser canceled the consultation
CLOSED consultations can always be followed up on for continuity of care. Send a message to a closed consultation using send_message and it enters follow-up mode — the provider is brought back in with full context from the original conversation.

Returns

{
  "status": "PAYMENT_REQUIRED",
  "statusDescription": "Triage complete, ready to connect with provider",
  "messages": [
    {
      "id": "msg_001",
      "type": "text",
      "content": "I've had a sore throat for 3 days...",
      "sender": "user",
      "timestamp": "2024-01-15T10:30:00Z"
    },
    {
      "id": "msg_002",
      "type": "triage",
      "content": "Have you had any fever?",
      "sender": "ai",
      "timestamp": "2024-01-15T10:30:15Z"
    }
  ],
  "paymentGate": {
    "consultationSummary": "Based on your symptoms...",
    "paymentType": "pay_per_use",
    "ctaText": "Connect with Provider - $30"
  },
  "nextSteps": ["Call confirm_provider_connection to proceed"]
}

Message Types

TypeDescription
textPlain text message
triageAI triage question/response
photoPhoto attachment
videoVideo attachment
fileFile attachment
joinProvider joined notification
prescriptionPrescription notification
lab_requestLab request notification

Payment Gate

When status is PAYMENT_REQUIRED, the response includes:
FieldDescription
consultationSummaryMarkdown summary of what Arlo can help with
paymentTypepay_per_use or subscription_required
ctaTextCall-to-action button text

cancel_consultation

Cancel an active consultation request.

Parameters

ParameterTypeRequiredDescription
conversationIdstringYesThe conversation ID to cancel

Cancelable Statuses

  • TRIAGING — Still gathering information
  • MATCHING — Waiting for provider

Non-Cancelable Statuses

  • ACTIVE — Already connected with provider
  • CLOSED — Already completed
  • EMERGENCY — Should seek immediate care

Returns

{
  "success": true,
  "status": "CANCELED"
}

get_consultation_notes

Get clinical notes from a completed consultation.

Parameters

ParameterTypeRequiredDescription
conversationIdstringYesThe conversation ID

Returns

{
  "chiefComplaint": "Sore throat for 3 days",
  "assessment": "Viral pharyngitis",
  "plan": "Rest, fluids, over-the-counter pain relief",
  "summary": "Patient presented with..."
}
Can be called in any state. An ACTIVE consultation may have notes from a previous conversation that is now being followed up on.