openwisp_create_location
Create a controller location in OpenWISP via the REST API by providing a name and optional organization ID or slug.
Instructions
[Category: Geo & Locations] Create a controller location. (HTTP POST /api/v1/controller/location/)
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": {
"name": "<name>"
},
"name": "openwisp_create_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Location name | |
| organization | No | Organization ID or slug |