configure_network
Set network configuration on air-Q devices using DHCP or static IP parameters, then restart the device to apply changes.
Instructions
Configure network settings. Set dhcp=True for DHCP, or provide ip/subnet/gateway/dns for static IP.
After changing network settings, the device must be restarted.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "configure_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dhcp | No | ||
| ip | No | ||
| subnet | No | ||
| gateway | No | ||
| dns | No | ||
| device | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |