Bit Reverse
bit_reverseReverse the lowest width bits of n. 13 reversed in width 4 is 11. 1 reversed in width 8 is 128. n must be smaller than 2^width. width runs from 1 to 62, and n runs from 0 to 999999999999999. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/bit-reverse
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>",
"width": "<width>"
},
"name": "bit_reverse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| width | Yes |