ratio_calc
Solve ratio proportions by finding the missing value in a:b = c:d. Input known values and specify which side to compute.
Instructions
Solve ratio proportions: find missing value in a:b = c:d.
Parameters:
a — First value of first ratio.
b — Second value of first ratio.
value — Known value to solve for.
side — Which side the value represents: 'a' or 'b' (default: 'a').
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_calc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes | ||
| value | No | ||
| side | No | a |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |