Polygonal Index
polygonal_indexThe index n of an s-gonal number. Triangular 10 is index 4, and square 25 is index 5. 0 is index 0. A value that is not s-gonal is rejected. s runs from 3 to 20 and the value from 0 to 999999999999999. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/polygonal-index
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": {
"s": "<s>",
"value": "<value>"
},
"name": "polygonal_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| s | Yes | ||
| value | Yes |