contains
Check whether an IP address belongs to a specified CIDR block. Provide the IP and the CIDR range to get a yes/no result.
Instructions
Check whether an IP address is inside a CIDR block (e.g. 10.0.0.0/8).
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": {
"cidr": "<cidr>",
"address": "<address>"
},
"name": "contains"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cidr | Yes | ||
| address | Yes |