Search contacts
contacts_searchSearch iCloud contacts by name, email, or phone number with server-side partial matching, and optionally include groups to retrieve group IDs for membership changes.
Instructions
Searches contacts by name, email address or phone number. Matching is done by this server, not by iCloud. Names, labels and notes are as stored on each card.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "contacts_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Most contacts to return. Omitted means 25. More than 100 is rejected. | |
| query | Yes | A name, an email address or a phone number, or part of one. | |
| include_groups | No | Also return groups, to find the id of a group for `contacts_set_group_membership`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contacts | Yes | ||
| warnings | Yes | Cards that could not be read and were skipped. |