Search Contacts
searchContactsFind Thunderbird contacts by email, name, or organization across address books, with pagination, and check existing entries before creating new ones to avoid duplicates.
Instructions
Find contacts in the address books MCP clients may use, by words matching email, name or organization; rows carry id (the contactId of the contact tools) and addressBookId. Search before createContact to avoid duplicates. A cut list sets hasMore and nextOffset: pass it as offset for the next page.
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": "searchContacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Words that must all match email, name or organization (e.g. 'acme' or '@acme.com'); '' lists all | |
| format | No | 'table' returns { contacts: { columns, rows } } | |
| offset | No | Matches to skip; use with nextOffset | |
| maxResults | No | Max contacts | |
| addressBookId | No | Only this address book (from listAddressBooks) |