ninja_get_device_software
Retrieve a list of installed software on a device to audit or manage applications.
Instructions
Get installed software on a device.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Device ID |
Implementation Reference
- src/tools/devices.ts:132-132 (handler)Handler function that executes the GET request to /device/{id}/software, returning installed software for a device.
handler: async ({ id }, client: NinjaOneClient) => client.get(`/device/${id}/software`), - src/tools/devices.ts:121-131 (schema)Schema definition for ninja_get_device_software tool: requires a numeric device ID, returns installed software list.
tool: { name: 'ninja_get_device_software', description: 'Get installed software on a device.', inputSchema: { type: 'object', required: ['id'], properties: { id: { type: 'number', description: 'Device ID' }, }, }, }, - src/tools/devices.ts:120-133 (registration)Tool registration as part of deviceTools array in src/tools/devices.ts, aggregated into ALL_TOOLS in src/tools/index.ts, and registered with the MCP server via ListToolsRequestSchema/CallToolRequestSchema in src/index.ts.
{ tool: { name: 'ninja_get_device_software', description: 'Get installed software on a device.', inputSchema: { type: 'object', required: ['id'], properties: { id: { type: 'number', description: 'Device ID' }, }, }, }, handler: async ({ id }, client: NinjaOneClient) => client.get(`/device/${id}/software`), },