openwisp_get_device_config
Generate and download a device's compiled NetJSON configuration by ID. Use it to retrieve OpenWISP device settings for network automation.
Instructions
[Category: Devices & Controller] Generate and download compiled NetJSON configuration for a device. (HTTP GET /api/v1/controller/device/{id}/configuration/)
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": {
"id": "<id>"
},
"name": "openwisp_get_device_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Device UUID or ID |