contact.search
Look up people in your address book by name, email, phone, company, or alias and get matched contacts with source provenance, so agents can confirm who someone is before acting.
Instructions
Search the owner's contact graph by name, email, phone, company, or alias — one identifier kind per call (each is an arg; see the arg descriptions). Returns matched candidates (name, email, phone, company) with per-source provenance: HubSpot + Salesforce contribute when email or query is set; phone / company / alias are local-warehouse only. Result envelope carries shape.pattern (1-4) — the agent reads it to choose between silent execute / optimistic-with-alternatives / refuse / fall-through. Use this over memory.search when the user is asking about someone in their address book vs someone mentioned in a past recipe / audit row.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | No | The user's own private nickname for someone ("mom", "the cheese guy") — not a real name. Pair with `platform` for an external handle lookup. | |
| No | Exact-match canonical email address. | ||
| limit | No | Max candidates to return. | |
| phone | No | Exact-match E.164-canonical phone number. | |
| query | No | Free-text fuzzy lookup by a person's name. | |
| company | No | Org-scoped lookup — contacts whose company name matches (substring). | |
| platform | No | External platform for a handle lookup, paired with `alias`: facebook / x / instagram / linkedin / github / substack. |