modulo
Calculate the remainder of a division using a numerator and denominator. Use for finding leftover values; for several or chained operations, call batch_calc.
Instructions
Returns the remainder of a division. For several operations or chained steps in one call, use batch_calc.
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": {
"numerator": "<numerator>",
"denominator": "<denominator>"
},
"name": "modulo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| numerator | Yes | The number being divided (numerator) | |
| denominator | Yes | The number to divide by (denominator) |