subtract
Calculates the difference between two numbers by deducting the second value from the first. Use batch_calc for chained operations.
Instructions
Subtracts the second number from the first. 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": {
"minuend": "<minuend>",
"subtrahend": "<subtrahend>"
},
"name": "subtract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| minuend | Yes | The number to subtract from (minuend) | |
| subtrahend | Yes | The number being subtracted (subtrahend) |