Kolakoski Check
kolakoski_checkWhether a string of the digits 1 and 2 is a prefix of the Kolakoski sequence. 122112 is a prefix. An empty string, or any other character, is rejected. The string stops at 512 characters. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/kolakoski-check
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": {
"bits": "<bits>"
},
"name": "kolakoski_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bits | Yes |