Staff activity
get_staff_activityPer-teammate activity in the organization's own WhatsApp groups for a date range of up to 92 days: messages written, groups active in, first and last message time, median response time, share of requests answered within 1 hour. Counts only; no message text. Honours the organization's AI access and privacy settings (team phone numbers may be hidden).
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": {
"from": "<from>",
"to": "<to>"
},
"name": "get_staff_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| group_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| level | Yes | ||
| staff | Yes | ||
| totals | Yes | ||
| group_id | Yes | ||
| timezone | Yes | ||
| definition | Yes | ||
| metric_label | Yes | ||
| staff_numbers_known | Yes |