marketo_get_lead_activities
Retrieve timestamped activity records for a specific lead, filterable by activity type IDs like Visit Web Page or Send Email. Supports pagination via nextPageToken for efficient log browsing.
Instructions
Get activity log for a specific lead. Filter by activity type IDs (e.g. 1=Visit Web Page, 6=Send Email). Supports pagination via nextPageToken. Returns timestamped activity records.
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": {
"leadId": "<leadId>"
},
"name": "marketo_get_lead_activities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leadId | Yes | Lead ID to get activities for | |
| activityTypeIds | No | Filter to specific activity type IDs | |
| nextPageToken | No | Pagination token from previous response | |
| batchSize | No | Number of results per page (max 300) |