Update Location
ninjaone_update_locationUpdates a NinjaOne location's name, address, or description in a single confirmed write call. Use it to correct or refresh location details; requires NINJAONE_MODE=write and confirm: true.
Instructions
Update a location's name, address or description. Body (object) per NinjaOne updateLocation. Fields: name (string), address (string), description (string), userData (object). 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": {
"location_id": "<location_id>",
"body": "<body>",
"confirm": "<confirm>"
},
"name": "ninjaone_update_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | No | Organization id, or a unique part of its name (case-insensitive). Overrides NINJAONE_ORG_ID. An ambiguous name is refused with the candidates; call ninjaone_list_organizations to see them all. | |
| body | Yes | Request body as NinjaOne documents it for updateLocation. 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. | |
| location_id | Yes | Location id (from ninjaone_list_org_locations). |