Get Sonilo usage
get_usageRetrieve the authenticated account's usage summary and per-day breakdown to reconcile costs and track generation history; set a lookback window of 1–365 days (default 30).
Instructions
Get the authenticated account's usage summary and per-day breakdown. Useful for cost reconciliation and tracking generation history.
Args: days (int, optional): Lookback window in days, 1–365. Defaults to 30.
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": "get_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No |