util
Pure-compute utilities (no outbound): op = hash | uuid | base64_encode | base64_decode | json_validate | json_diff | timezone_convert | unit_convert | regex_match. Paid: $0.02 USDC via x402.
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": {
"op": "<op>"
},
"name": "util"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | json_diff left (JSON) | |
| b | No | json_diff right (JSON) | |
| op | Yes | hash|uuid|base64_encode|base64_decode|json_validate|json_diff|timezone_convert|unit_convert|regex_match | |
| to | No | IANA tz or unit | |
| from | No | IANA tz or unit | |
| time | No | ISO 8601 or unix | |
| count | No | uuid count ≤100 | |
| flags | No | imsuy | |
| input | No | text input (hash/base64/json_validate/regex_match) | |
| value | No | number for unit_convert | |
| pattern | No | regex | |
| encoding | No | utf8|base64 (hash input) | |
| url_safe | No | true for base64url | |
| algorithm | No | sha1|sha256|sha384|sha512 |