calculate_percentage
Find percent-of values, determine what percent one number is of another, and compute percentage increase, decrease, or change.
Instructions
Calculate percent-of, what-percent, increase/decrease, and percentage change.
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": {
"operation": "<operation>",
"x": "<x>",
"y": "<y>"
},
"name": "calculate_percentage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| operation | Yes |