Search contacts
search_contactsFinds people in the phone address book. name and number are separate filters. Set either one, or both. A contact matches every filter that is set. Omit both to match every contact. A number matches saved numbers, including a national form of the same number. Returns names and phone numbers for one page. limit and offset are the page that was applied, and total is the full match count. include_shared_chats is optional. Set it to include each shared chat name and the last message.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional. Saved contact name, or part of a name. Omit it to leave the name filter off. | |
| limit | No | Rows in this page. Default 10, maximum 25. | |
| number | No | Optional. One phone number. Matches saved numbers, including a national form of the same number. Omit it to leave the number filter off. | |
| offset | No | Rows to skip before this page. The following page starts at offset plus count. | |
| include_unverified | No | Default true. Set false to omit contacts that have no dialable number. Contacts with no dialable number and a number-only name sort last. | |
| include_shared_chats | No | Optional. When true, each contact includes the shared chats on this seat, with the chat name and the last message. Omit it to return names and numbers only. |