revenue_at_risk
ENTERPRISE+ per-user breakdown of cost vs revenue at risk across a date window (≤90 days). Risk is each user's total-hours compliance gap (expected minus logged, across all projects) valued at their billable rate - not restricted to billable projects. Returns per-user rows sorted by marginAtRisk descending + per-currency totals (NOT normalized across currencies). Mirrors GET /api/compliance/revenue-at-risk. Permission: org.compliance.manage (default OWNER+/ADMIN+).
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": {
"from": "<from>",
"to": "<to>"
},
"name": "revenue_at_risk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End of the window, YYYY-MM-DD. Span ≤ 90 days. | |
| from | Yes | Start of the window, YYYY-MM-DD. |