Mixed Fraction Calculator
calculator_mixed_fractionUse this tool to convert mixed numbers to improper fractions, improper fractions to mixed numbers, or simplify fractions. Examples: 2 1/3 → 7/3; 7/3 → 2 1/3.
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": {
"conversion": "<conversion>",
"numerator": "<numerator>",
"denominator": "<denominator>"
},
"name": "calculator_mixed_fraction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| whole | No | Whole part for mixed_to_improper (e.g., 2 in 2 1/3). | |
| numerator | Yes | Numerator of the fractional part. | |
| conversion | Yes | Conversion type: mixed_to_improper, improper_to_mixed, or simplify. | |
| denominator | Yes | Denominator of the fractional part. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| whole | No | ||
| result | Yes | ||
| numerator | Yes | ||
| conversion | Yes | ||
| expression | Yes | ||
| denominator | Yes | ||
| result_numerator | Yes | ||
| result_denominator | Yes |