ip_in_range
Check if an IP address is within a CIDR range.
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_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IP address to check | |
| cidr | Yes | CIDR range |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | ||
| cidr | No | ||
| code | No | ||
| error | No | ||
| in_range | No |