Get Current Period Summary
ogarniai_get_current_periodGet spending summary for a preset period (current week, month, etc.) with optional daily, weekly, or monthly granularity. Returns total amount, period dates, daily summaries, and category totals.
Instructions
Get spending summary for a preset period (current week, current month, etc.).
Args:
preset (string): Period preset - "current-week", "current-month", "last-week", or "last-month"
granularity (string, optional): Time granularity - "Day" (default), "Week", or "Month"
Returns: JSON with periodStart, periodEnd, totalAmount, dailySummaries[], categoryTotals[]
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": {
"preset": "<preset>"
},
"name": "ogarniai_get_current_period"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset | Yes | Period preset | |
| granularity | No | Time granularity for breakdown | Day |