data_rate
Compare two quantities as a unit rate and report the percentage difference. Pure CPU, instant. Use to pick the cheaper of two packs with different sizes.
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>"
},
"name": "data_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | Quantity A | |
| b | No | Quantity B | |
| a_price | No | Price A | |
| b_price | No | Price B |