simplify_fraction
Reduce a fraction to lowest terms using integer strings, preserving precision for large numbers beyond JSON's safe integer range.
Instructions
Reduces a fraction exactly using integer strings, preserving values larger than JSON's safe integer range
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": "simplify_fraction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| numerator | Yes | Integer numerator as a decimal string | |
| denominator | Yes | Non-zero integer denominator as a decimal string |