List Device Jobs
ninjaone_list_device_jobsLists currently running jobs for a single device—scripts, patching, and actions—so you can monitor active tasks by device ID.
Instructions
List one device's currently running jobs (scripts, patching, actions). For the same data across many devices, use the matching ninjaone_report_* tool with df.
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_jobs"
}
}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 500. 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. | |
| device_id | Yes | Device id (from ninjaone_list_devices or ninjaone_search_devices). |