Approve Devices
ninjaone_approve_devicesApprove devices waiting in the pending queue by ID; dry runs return the exact request first, and live approval requires explicit confirmation.
Instructions
Approve devices waiting in the pending queue (find them with ninjaone_list_devices and df "status = PENDING"). Dry run by default. Body (object) per NinjaOne nodeApprovalOperation. Fields: devices (integer[]). Example: {"devices": [101, 102]}. Runs as a dry run unless dry_run is false: the first call returns the exact request without sending it. Needs NINJAONE_MODE=write and confirm: true.
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": {
"body": "<body>",
"confirm": "<confirm>"
},
"name": "ninjaone_approve_devices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body as NinjaOne documents it for nodeApprovalOperation. Field names are NinjaOne's (camelCase). | |
| confirm | Yes | Must be exactly true. States that this call changes live data. There is no undo from this server. | |
| dry_run | No | Default true: return the exact request without sending it. Pass false to apply. |