Prev Prime
prev_primeThe greatest prime less than or equal to n. 2 gives 2, 10 gives 7, and 10000000 gives 9999991. n runs from 2 to 10000000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/prev-prime
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>"
},
"name": "prev_prime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |