Skip to main content
Glama

run_script_on_device

Execute a saved script from the NinjaOne library on a specific device to automate tasks or perform maintenance remotely.

Instructions

Execute a saved script on a specific device. The script must already exist in NinjaOne's script library.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_idYesNinjaOne device ID to run the script on
script_idYesID of the saved script to execute
run_asNoSecurity context to run the script underSYSTEM
parametersNoOptional parameters to pass to the script

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fredriksknese/mcp-ninjaone'

If you have feedback or need assistance with the MCP directory API, please join our Discord server