llm_digest
Generate a cost savings digest for your LLM router, including spend spike detection and a what-if simulation for router-off scenarios. Optionally send the digest via webhook.
Instructions
Generate a savings digest and optionally send it to a webhook.
Formats a savings summary for the given period. Also detects spend spikes and shows a "what if router was off?" simulation.
Args:
period: "today", "week", "month", or "all time".
send: If True, POST the digest to LLM_ROUTER_WEBHOOK_URL.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "llm_digest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| send | No | ||
| period | No | week |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |