percentage_calc
Calculates percentages for a value, percent change, increase or decrease, and what percent one number is of another.
Instructions
Perform percentage calculations (of, change, increase, decrease, is_what_percent).
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": "percentage_calc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First number. | |
| b | Yes | Second number. | |
| operation | No | Operation: of, is_what_percent, change, increase, decrease (default of). |