Get Device Scripting Options
ninjaone_get_device_scripting_optionsList the scripts and built-in actions available on a device, including IDs and parameters, so you can choose what to run before execution.
Instructions
List the scripts and built-in actions that can run on one device, with their ids and parameters. Call this before ninjaone_run_device_script.
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_get_device_scripting_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language tag for messages, e.g. "en". | |
| device_id | Yes | Device id (from ninjaone_list_devices or ninjaone_search_devices). |