percentage
ActiveTool of WingmanProtocol Agent Gateway
declared in 1.5.1
Percentage Calculator — Percent-of, percent change, is-what-percent, increase/decrease and reverse-percent.
Parameters schema
{
"type": "object",
"required": [
"mode"
],
"properties": {
"base": {
"type": "number",
"description": "Base value (percent_of/increase/decrease)"
},
"mode": {
"enum": [
"percent_of",
"is_what_percent",
"percent_change",
"increase",
"decrease",
"reverse_percent"
],
"type": "string",
"description": "Which calculation to run"
},
"part": {
"type": "number",
"description": "Part value (is_what_percent)"
},
"total": {
"type": "number",
"description": "Total after the percent was added (reverse_percent)"
},
"whole": {
"type": "number",
"description": "Whole value (is_what_percent)"
},
"percent": {
"type": "number",
"description": "Percent value (percent_of/increase/decrease/reverse_percent)"
},
"to_value": {
"type": "number",
"description": "Ending value (percent_change)"
},
"from_value": {
"type": "number",
"description": "Starting value (percent_change)"
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
WingmanProtocol Agent Gateway
https://github.com/WingmanProtocol-Agent-Gateway/wingman-agent-gateway
1/7 registries