Cake Number
cake_numberThe cake number, the most pieces of space cut by n planes: (n^3 + 5*n + 6)/6. Zero planes give 1, three give 8, and five give 26. n runs from 0 to 100000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/cake-number
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": "cake_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |