MCPDocumentation
On this page

Voice agents

Ask for a value by message

capture_request
Direct write
Permission required
agent:runtime (agent keys only)

When to use it

Leaves pending a value the caller will send later by message (e.g. their email over WhatsApp). The server completes it; there is no URL to give.

Input

FieldTypeDescription
call_idstringThe current call (call_id from call_start)
phonestringDefault: the caller's
field_neededRequiredstringWhich value is missing: email, id number…
typestringWhat for: booking, sign-up…
payloadobjectData you already have
ttl_minutesintegerHow long to wait for it (default 15 min)

Every tool also accepts lang (es | en) for the language of the text answer.

Output

FieldTypeDescription
capture_idRequirednumber
dedupedRequiredboolean
expires_atRequiredstring
phone_last4Requiredstring

Examples

Example 1: Email by WhatsApp

Call

JSON
{
  "name": "capture_request",
  "arguments": {
    "call_id": "room-abc",
    "field_needed": "email",
    "type": "alta"
  }
}

Equivalent JSON-RPC call (POST /mcp)

JSON
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "capture_request",
    "arguments": {
      "call_id": "room-abc",
      "field_needed": "email",
      "type": "alta"
    }
  }
}