ip_in_subnet
Check if an IPv4 address falls within a subnet using CIDR notation. Returns true if the address is part of the subnet.
Instructions
Check whether an IPv4 address falls within a subnet.
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>",
"cidr": "<cidr>"
},
"name": "ip_in_subnet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| cidr | Yes |