openwisp_create_template
Create a reusable NetJSON configuration template for OpenWISP devices to standardize settings and simplify device provisioning.
Instructions
[Category: Templates] Create a reusable configuration template in NetJSON format for OpenWISP devices. (HTTP POST /api/v1/controller/template/)
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>",
"type": "<type>",
"organization": "<organization>",
"config": "<config>"
},
"name": "openwisp_create_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Template title (e.g. Corporate Guest WiFi) | |
| type | Yes | Template type | |
| config | Yes | NetJSON configuration payload object | |
| backend | No | Config engine backend | netjsonconfig.OpenWrt |
| default | No | Automatically assign to new devices | |
| organization | Yes | Organization ID or slug |