user_activity
Retrieve recent event history for a specific user by providing their distinct ID and date range. Use this tool to analyze user behavior patterns and track interactions within your application.
Instructions
Get a user's activity stream. Returns recent events for a specific user.
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": {
"distinct_id": "<distinct_id>",
"from_date": "<from_date>",
"to_date": "<to_date>"
},
"name": "user_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| distinct_id | Yes | User's distinct ID | |
| from_date | Yes | Start date (YYYY-MM-DD) | |
| to_date | Yes | End date (YYYY-MM-DD) |