Location Add
location_addAdd a new location to LibreNMS by providing a location name, latitude, and longitude. Optionally set fixed coordinates to keep them unchanged by device updates.
Instructions
Add a new location to LibreNMS.
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": {
"payload": "<payload>"
},
"name": "location_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Location payload fields: - location (required): Location name - lat (required): Latitude coordinate (decimal degrees) - lng (required): Longitude coordinate (decimal degrees) - fixed_coordinates (optional): 0 = update from device, 1 = fixed (default: 1) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||