MCPDocumentation
On this page

Voice agents

Look up a contact

contact_lookup
Read
Permission required
agent:runtime (agent keys only)

When to use it

Finds the caller by phone (or the call's contact). By name it returns names only. Use it when they give another phone.

Input

FieldTypeDescription
call_idstringThe current call (call_id from call_start)
phonestringPhone the caller dictates
namestringName: returns names only, never another person's data

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

Output

FieldTypeDescription
foundRequiredboolean
contactRequiredobject | nullCard when exactly one contact has that phone, or the call's
matchesRequiredobject[]
matches[].idRequirednumber
matches[].nameRequiredstring | null

Examples

Example 1: By a dictated phone

Call

JSON
{
  "name": "contact_lookup",
  "arguments": {
    "call_id": "room-abc",
    "phone": "600 333 444"
  }
}

Equivalent JSON-RPC call (POST /mcp)

JSON
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "contact_lookup",
    "arguments": {
      "call_id": "room-abc",
      "phone": "600 333 444"
    }
  }
}