Digit Sum
digit_sumThe sum of the decimal digits of an integer, ignoring the sign. 199 sums to 19. The decimal has no leading zeros. A malformed integer is rejected. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/digit-sum
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": "digit_sum"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |