subtract
Compute the difference between two numbers, using the first as the minuend and the second as the subtrahend.
Instructions
Subtract second number from first 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": {
"a": "<a>",
"b": "<b>"
},
"name": "subtract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First number (minuend) | |
| b | Yes | Second number (subtrahend) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |