roll
[x402 paid: $0.001 USDC on Base] Cryptographically random integers ?n=5&max=100 (dices, lottery, sampling). tools/call returns the live payment challenge.
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": "roll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | example: 5 | |
| max | No | example: 100 |