calculate
Perform arithmetic operations like addition, subtraction, multiplication, division, and exponentiation on two numbers.
Instructions
Performs arithmetic operations (add, subtract, multiply, divide, power).
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": "calculate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First number operand | |
| b | Yes | Second number operand | |
| operation | Yes | The arithmetic operation to perform |