comprobar_ip_en_red
Checks whether an IPv4 address belongs to a given CIDR network and identifies it as the network address, broadcast address, or a usable host.
Instructions
Indica si una IP pertenece a una red y si es de red, broadcast o un host utilizable.
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>",
"red": "<red>"
},
"name": "comprobar_ip_en_red"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | Dirección IPv4, p. ej. 192.168.1.130 | |
| red | Yes | Red en CIDR, p. ej. 192.168.1.128/26 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| red | Yes | ||
| papel | Yes | ||
| pertenece | Yes |