Subtract
subtractCalculate the difference between two numbers by removing the second value from the first. Use for basic arithmetic in MCP clients.
Instructions
Subtract the second number from the first.
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 | The minuend (the number to subtract from). | |
| b | Yes | The subtrahend (the number to subtract). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |