Rough
roughWhether n is y-rough: its smallest prime factor is at least y. 35 is 5-rough and not 7-rough. 1 is 1-rough and not 2-rough. n and y run 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/rough
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>",
"y": "<y>"
},
"name": "rough"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| y | Yes |