search_employee_activity
Read retained evidence behind Employee Simulation and Training posture within one Organization. Employee selection supports IDs, literal name/email text, current Groups or Dynamic Groups, and active state; an omitted selection browses Employees. Exactly one activity.source is required per call. SIMULATION returns complete campaign/channel participations with canonical facts, outcomes and retained source events. TRAINING returns assignments with lifecycle dates and retained MCQ answers. Results contain individual activity records rather than Employee summaries or comparisons and do not rank Employees by score. Each call selects at most limit matching Employees and returns at most limit activity records. Ordering is Employee ID then channel and Campaign ID for Simulation, or session ID for Training. next_cursor can be present after an empty activity page; null means the search is exhausted. read_at is retained across pages. Current identity and membership and late-arriving records can change; this is not an atomic cross-store snapshot. Retained history remains readable when a program is disabled. Deleted Training sessions are excluded. Pages that exceed evidence or response bounds return an error. A smaller limit or narrower selection and filters can reduce page size. Evidence is never silently truncated.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"activity": {
"source": "SIMULATION",
"filters": {}
},
"employees": {
"ids": [
"employee-1"
]
},
"organization_id": "organization-1"
},
"name": "search_employee_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum matching Employees selected and maximum activity records returned per call, from 1 to 50. Defaults to 25. Preserve this value when continuing a cursor. | |
| cursor | No | Omit or use null for the first page. Continue with next_cursor and unchanged arguments, even after an empty activity page. Stop only when next_cursor is null. | |
| activity | Yes | Exactly one source per call. Filters select activity records, not Employees. | |
| employees | No | Current Employee selection. Omit to browse. Matching Employees are paged using limit and cursor. | |
| organization_id | Yes | ID of one Organization accessible to the authenticated Member. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | ||
| read_at | Yes | Evidence cutoff retained across pages. Current Employee selection, content edits and late-arriving source records can affect later pages; source stores do not share an atomic snapshot. | |
| activity | Yes | ||
| request_id | Yes | ||
| next_cursor | Yes | Continue with this cursor even when items is empty: later Employees may have matching activity. Null means the search is exhausted. | |
| missing_employee_ids | Yes | Requested IDs that are unknown, inaccessible, or excluded by current selection filters. Empty without exact IDs. |