get_user_activity
Retrieve a Loomio user's participation across selected groups, including monthly counts, per-group totals, and sample events for a date range.
Instructions
One person's participation across groups: 1 call per group + 1. Required user_id (from list_memberships or a participation row) and group_ids. Returns counts, by_group, sample_events (newest items with urls, not a full list). MONTH-GRAINED: since / until widen to whole months; anonymous polls never count; a vote counts in the month its counted stance row was created.
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": {
"user_id": "<user_id>",
"group_ids": "<group_ids>"
},
"name": "get_user_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | ISO-8601 start, rounded down to its month. Default: all history. | |
| until | No | ISO-8601 end (exclusive), rounded out to a whole month. Default: now. | |
| user_id | Yes | Loomio user id. | |
| group_ids | Yes | Group ids (1-50); 1 call each. |