activate_will_call
Status: Implemented | Module: trip
Activate a will-call return leg for immediate pickup dispatch. Uses the Organization action (not Broker) and passes the real member ID as AddedByEntityID. Returns an estimated pickup time (+15 minutes from activation). Does not pre-fetch the trip – delegates directly to the trip service. Supports both session-based and lightweight re-verification.
Annotations
Section titled “Annotations”| Hint | Value |
|---|---|
| destructiveHint | true |
| idempotentHint | false |
| Field | Type | Required | Description |
|---|---|---|---|
trip_id |
string | yes | Trip identifier from get_active_trips. Accepts trip UUID or human-readable ID (e.g. 04-21-2026-91-B). Auto-detected. |
session_id |
string | no | Active session (if verified) |
member_id |
string | no | Medicaid ID (for re-verification) |
first_name |
string | no | First name (for re-verification) |
dob |
string | no | DOB (for re-verification) |
Verification Paths
Section titled “Verification Paths”- Existing session –
session_idprovided - Lightweight re-verification –
member_id+ (first_nameORdob)
Implementation Details
Section titled “Implementation Details”- Calls
Organization.ActivateWillCall(notBroker.ActivateWillCall) – consistent with member-backend AddedByEntityIDis set to the real member UUID (falls back to"mcp-service"if unavailable)- No pre-fetch trip lookup – the trip service validates ownership and status internally
- Estimated pickup is calculated as current time + 15 minutes
Output
Section titled “Output”| Field | Type | Description |
|---|---|---|
trip_id |
string | Activated trip |
status |
string | activated |
message |
string | Confirmation message with estimated pickup time |
Example Request (with session)
Section titled “Example Request (with session)”{ "params": { "name": "activate_will_call", "arguments": { "session_id": "a1b2c3d4-...", "trip_id": "trip-uuid-002" } }}Example Request (re-verification)
Section titled “Example Request (re-verification)”{ "params": { "name": "activate_will_call", "arguments": { "trip_id": "trip-uuid-002", "member_id": "MED-12345", "first_name": "John", "dob": "1990-01-15" } }}Related
Section titled “Related”- Will-Call Flow
- Prerequisite: get_active_trips