List Device Activities
ninjaone_list_device_activitiesList a single device's activity log—scripts, patches, alerts, and actions—newest first, with backward paging and filters by type, status, or time range.
Instructions
List one device's activity log (scripts, patches, alerts, actions), newest first, paged backwards in time.
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": {
"device_id": "<device_id>"
},
"name": "ninjaone_list_device_activities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | Time zone for timestamps, e.g. "America/Los_Angeles". | |
| lang | No | Language tag for messages, e.g. "en". | |
| limit | No | Rows per page, 1 to 1000. Default 50. | |
| cursor | No | Opaque cursor from next_cursor on the previous page. Omit for the first page. | |
| fields | No | Omit for the compact field set. "all" returns full records; a list of names returns just those fields. | |
| status | No | Activity status filter. | |
| end_time | No | ISO-8601 end. | |
| device_id | Yes | Device id (from ninjaone_list_devices or ninjaone_search_devices). | |
| series_uid | No | Only activities for this alert series. | |
| start_time | No | ISO-8601 start. | |
| activity_type | No | Activity type, e.g. "ACTION", "CONDITION", "PATCH_MANAGEMENT". |