percentage
Calculate percentages for various operations including finding percentages of numbers, determining percentage increases or decreases, and calculating what percentage one value is of another.
Instructions
Calculate percentages (percentage of a number, percentage increase/decrease, what percentage X is of Y)
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>",
"value1": "<value1>",
"value2": "<value2>"
},
"name": "percentage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | Type of percentage calculation | |
| value1 | Yes | First value | |
| value2 | Yes | Second value |