Ruler Max
ruler_maxThe largest ruler value on 1 through n, and the smallest index where it occurs. That index is the greatest power of 2 that does not exceed n. On 1 through 20 the maximum is 4, at 16. n runs from 1 to 1000000000000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/ruler-max
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": {
"n": "<n>"
},
"name": "ruler_max"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |