Fraction Calculator
fraction_calculatorComputes exact addition, subtraction, multiplication or division of fractions and mixed numbers, with simplified, mixed and decimal forms.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"a": "1 1/2",
"b": "2/3",
"operation": "+"
},
"name": "fraction_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First integer, fraction, decimal or signed mixed number. | |
| b | Yes | Second integer, fraction, decimal or signed mixed number. | |
| operation | No | Arithmetic operation; default +. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||