ip_in_cidr
Verify if an IP address belongs to a specified CIDR network. Useful for subnet validation and access control checks.
Instructions
Check whether an IP address falls inside a given CIDR network.
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_cidr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| cidr | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |