fraction-simplifier
Simplify a fraction to lowest terms. Returns the simplified numerator/denominator, the decimal value, the gcd used, and the equivalent percentage.
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": {
"numerator": "<numerator>",
"denominator": "<denominator>"
},
"name": "fraction-simplifier"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| numerator | Yes | Numerator (integer). | |
| denominator | Yes | Denominator (integer, non-zero). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gcd | Yes | Greatest common divisor used. | |
| decimal | Yes | Decimal value of the fraction. | |
| percentage | Yes | Fraction expressed as a percentage. | |
| simplified | Yes | Simplified fraction. |