Skip to main content

list_contacts

List contacts collected from chat conversations. Parameters:
Search by name or email.
Example request:
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "list_contacts",
    "arguments": {
      "search": "john"
    }
  },
  "id": 1
}
Example response:
{
  "contacts": [
    {
      "id": "ct-1",
      "name": "John Doe",
      "email": "john@example.com",
      "phone": "+43 123 456 789",
      "company": "Acme Corp",
      "createdAt": "2025-01-20T14:00:00Z"
    }
  ]
}

get_contact

Get detailed information about a specific contact. Parameters:
contactId
string
required
The ID of the contact to retrieve.
Example request:
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "get_contact",
    "arguments": {
      "contactId": "ct-1"
    }
  },
  "id": 2
}
Example response:
{
  "id": "ct-1",
  "name": "John Doe",
  "email": "john@example.com",
  "phone": "+43 123 456 789",
  "company": "Acme Corp",
  "createdAt": "2025-01-20T14:00:00Z"
}