Get Contact Activity
get_contact_activityReturns the recent email activity of one contact of the signed-in Mailpro account: emails received, opened and clicked over the period, favorite email client, and the last campaigns received.
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": {
"contact_id": "<contact_id>"
},
"name": "get_contact_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contact_id | Yes | Contact id (a GUID), from search_contacts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period_days | Yes | Length of the observed period, in days. | |
| emails_opened | Yes | ||
| emails_clicked | Yes | ||
| last_campaigns | Yes | ||
| emails_received | Yes | ||
| favorite_email_client | Yes | Empty when unknown. |