Create Location
ninjaone_create_locationAdd a location or site to an organization, returning the created record. Use when creating a new NinjaOne location with name, address, description, and user data; requires write mode and confirmation.
Instructions
Add a location (site) to an organization. Returns the new location. Body (object) per NinjaOne createLocationForOrganization. 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": {
"body": "<body>",
"confirm": "<confirm>"
},
"name": "ninjaone_create_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 createLocationForOrganization. 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. |