openwisp_create_device
Register a new network device in OpenWISP Controller with name, MAC address, and organization via the REST API.
Instructions
[Category: Devices & Controller] Register a new network device in OpenWISP Controller. (HTTP POST /api/v1/controller/device/)
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>",
"mac": "<mac>",
"organization": "<organization>"
},
"name": "openwisp_create_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mac | Yes | Hardware MAC Address (e.g. 00:11:22:33:44:55) | |
| name | Yes | Friendly device name (e.g. Gateway-Berlin-01) | |
| model | No | Hardware model (e.g. GL.iNet GL-AR750S or TP-Link Archer C7) | |
| system | No | Operating system backend (e.g. OpenWrt) | OpenWrt |
| organization | Yes | Organization ID or slug |