Power Mod
power_moda to the power e, reduced modulo m. 2^10 mod 1000 is 24, 3^5 mod 7 is 5, and (-2)^3 mod 7 is 6. A zero exponent gives 1, including 0^0, except modulo 1 where every power is 0. e runs from 0 to 1000000000000, and m 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/power-mod
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": {
"a": "<a>",
"e": "<e>",
"m": "<m>"
},
"name": "power_mod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| e | Yes | ||
| m | Yes |