Mod Inv
mod_invThe modular inverse of a modulo m, as a residue from 0 up to m-1. The modulus must be at least 1. A value that is not coprime to m is rejected. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/mod-inv
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>",
"mod": "<mod>"
},
"name": "mod_inv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| mod | Yes |