digit_sum
Calculate the sum of digits for any number in your chosen base. Use this tool to perform digital operations and arithmetic calculations efficiently.
Instructions
Calculate the sum of digits of a number in given base. (Domain: arithmetic, Category: digital_operations)
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 | ||
| base | No |