get_networks
List all network and VLAN configurations for a site, including names, purposes, VLAN IDs, subnets, and DHCP settings.
Instructions
Get all network/VLAN configurations for a site.
Read-only operation: returns each network's name, purpose, VLAN id, subnet CIDR, and DHCP settings. Use create_network / update_network / delete_network to change them, or get_wlans for wireless networks.
Args: site: Site to operate on. Defaults to "default". device: Optional console name to target a specific UniFi device; omit for default.
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": "get_networks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site to operate on. Defaults to "default". | default |
| device | No | Optional console name to target a specific UniFi device; omit for default. |