check_ip_in_network
Check if an IP address is within a CIDR range to validate network membership for Baremetal IPI cluster provisioning.
Instructions
Check if an IP address is within a CIDR range.
Args: ip_address: IP address to check cidr: CIDR range
Returns: Check result
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_address": "<ip_address>",
"cidr": "<cidr>"
},
"name": "check_ip_in_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cidr | Yes | ||
| ip_address | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||