Fraction Calculator
fraction_calculatorA fraction calculator for adding, subtracting, multiplying and dividing — exactly. A HelpySelf tool (helpyself.com).
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": {
"fractionA": "<fractionA>",
"operator": "<operator>",
"fractionB": "<fractionB>"
},
"name": "fraction_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operator | Yes | The arithmetic to apply: add, subtract, multiply or divide fractionA by fractionB. | |
| fractionA | Yes | The left operand as text: a fraction '3/4', a mixed number '2 3/4' or a whole number '5'. Negative values are allowed; decimals are not. | |
| fractionB | Yes | The right operand, in the same forms as fractionA. Dividing by zero is refused. |