get_contact_activity
Retrieve a contact's interaction history in Mautic. Filter by date range, event types, and search terms to analyze engagement.
Instructions
Get contact interaction history
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": {
"contactId": "<contactId>"
},
"name": "get_contact_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contactId | Yes | Contact ID | |
| search | No | Search term | |
| includeEvents | No | Event types to include | |
| excludeEvents | No | Event types to exclude | |
| dateFrom | No | Start date (YYYY-MM-DD) | |
| dateTo | No | End date (YYYY-MM-DD) | |
| limit | No | Number of results |