x402-is-quadratic-residue
Is Quadratic Residue: Checks whether a is a quadratic residue mod p by the Euler criterion; true when a mod p is 0, errors if p<2 🆓 5 free trial calls per signed wallet
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": "x402-is-quadratic-residue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | ||
| p | No |