find_vlan_for_ip
Identifies the VLAN subnet for a given IP address using a provided VLAN map. Returns matching VLAN IDs and subnet details.
Instructions
Find which VLAN subnet(s) match an IP in a provided VLAN map.
Tier 1 "hero tool":
"What VLAN does this IP belong to?"
Example vlan_map: {"10": "192.168.10.0/24", "20": {"cidr": "192.168.20.0/24", "name": "Voice"}}
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": {
"ip": "<ip>",
"vlan_map": "<vlan_map>"
},
"name": "find_vlan_for_ip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| vlan_map | Yes |