IPv4 converter
ip_convertConvert an IPv4 address between dotted-decimal, integer, binary, and hex forms. Accepts any of those as input.
Returns: JSON { decimal, integer, hex, binary } representations of the IPv4 address.
Example input: {"value":"192.168.1.1"}
On error, includes hint: value accepts dotted (192.168.0.1), integer (3232235521), 32-bit binary, or 0x-prefixed hex.
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": {
"value": "<value>"
},
"name": "ip_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | IPv4 in dotted (192.168.0.1), integer (3232235521), binary (32 bits), or hex (0xC0A80001) form. |