Subtract
Calculates the difference between two numbers by subtracting the second from the first, returning the result for arithmetic workflows.
Instructions
Subtracts the second number from the first number and returns the difference
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 | |
| b | Yes | Second Number |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First Input Number | |
| b | Yes | Second Input Number | |
| result | Yes | Difference between the first and the second number | |
| operation | Yes | Operation performed |