ip_in_vlan
Check if an IP address belongs to a specified VLAN using a provided VLAN map; if no match, it returns a best-guess VLAN for triage.
Instructions
Check if an IP belongs to a VLAN (1 subnet per VLAN) using a provided VLAN map.
If it does NOT match, this tool will attempt a best-guess VLAN match to help Tier 1/2 triage.
Example vlan_map: {"20": {"cidr": "10.10.20.0/24", "name": "Voice"}, "50": "10.10.50.0/24"}
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_id": "<vlan_id>",
"vlan_map": "<vlan_map>"
},
"name": "ip_in_vlan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| vlan_id | Yes | ||
| vlan_map | Yes |