calculator
Performs addition, subtraction, multiplication, and division on two numbers, returning the result for basic arithmetic tasks.
Instructions
Perform basic arithmetic operations (add, subtract, multiply, divide)
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": {
"operation": "<operation>",
"a": "<a>",
"b": "<b>"
},
"name": "calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First number | |
| b | Yes | Second number | |
| operation | Yes | The arithmetic operation to perform |