x402-is-prime
Is Prime: Check whether a number is prime. Provide n or number; returns true for primes (2, 3, 5...) and false for composite or numbers <2. 🆓 5 free trial calls per signed wallet
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": {
"input": "<input>"
},
"name": "x402-is-prime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| input | Yes | ||
| value | No | ||
| number | No |