Get contact
get_contactLook up a contact by their contactId or any of their email addresses to identify the sender of a message or the owner of an address. Reads local data only.
Instructions
Reads one person from MailFathom's own contact book, named either by the contactId a listing returned or by any address they use — name exactly one of the two. Use the address form to answer who a message is from or who an address belongs to: at most one contact in the book holds a given address, and the lookup ignores casing. Reads local state only: it never contacts a mail server and changes nothing. A person this deployment has no record of comes back as an empty answer rather than as an error.
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": "get_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | Any mail address the person uses, such as the one on a message you are reading, written as the address alone — send anna@example.test rather than Anna Kowalska <anna@example.test>. Matched as a whole address without regard to case. Name this or contactId, and exactly one of the two. | |
| contactId | No | The contactId a listing or a write returned. Name this or address, and exactly one of the two. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contact | No | The person the lookup resolved, or null when the book holds nobody. Null is an answer rather than an error: this deployment has no record of them. |