fair_draw
Provably-fair random integer from a committed seed (commit-reveal). Use for verifiable winner selection, raffles and allocations. Reveal the seed afterwards so anyone can reproduce the result.
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": "fair_draw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Maximum value (default 100). | |
| min | No | Minimum value (default 1). | |
| nonce | No | A counter to get a new number from the same seed. | |
| round | No | Round id (default 1). | |
| client_seed | No | Your own seed (keep it, it makes the draw verifiable). |