ratio_simplify
Reduce a ratio a:b to lowest terms, returning decimal and percentage forms to compare and communicate proportions.
Instructions
Simplify a ratio a:b to its lowest terms. Returns decimal and percentage forms.
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": {
"a": "<a>",
"b": "<b>"
},
"name": "ratio_simplify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First value. | |
| b | Yes | Second value (non-zero). |