Hex converter
util_hexUse when an agent has raw RPC output and must read it as a number or as text: converts between hex, decimal and UTF-8 in one call, with big integers kept exact because a 32-byte word overflows a JavaScript number. Do not use to decode a whole ABI-encoded struct: this converts one value. No API key, no account. $0.005 per call, paid over x402 (USDC).
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": "util_hex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | hex | decimal | text. What the value IS. Defaults to autodetect. | |
| value | Yes | A 0x-prefixed hex string, a decimal number, or text. |