util_random
[PAID $0.005 USDC per call via x402 on Base; errors are free] CSPRNG (crypto.getRandomValues) with rejection sampling (no modulo bias). Optional min/max (default 0..1000000, range <= 2^32) and bytes 1-256 (default 32). Invalid input = 400, never charged.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "util_random"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Inclusive max (default 1000000) | |
| min | No | Inclusive min (default 0) | |
| bytes | No | Random bytes (default 32) |