Get receipts
get_receiptsRead what the user spent on emero, the same numbers as the Receipts page in the app: the total, how many generations failed and were refunded (they cost $0), a breakdown by model, project, day or tool, and the newest transactions with their artifact ids. Use it for any spend question: what did I spend this week, which model costs me most, what did this project cost, how many of my runs failed. It only reads, it never changes a balance. Answer with the numbers it returns. Spend can inform a suggestion, but the model stays the user's choice: never switch or downgrade a model because of cost.
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_receipts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date, YYYY-MM-DD (UTC), inclusive. Default today | |
| from | No | Start date, YYYY-MM-DD (UTC) | |
| tool | No | Only this kind of generation, e.g. image, video, music, speech | |
| limit | No | Transactions to list, 1-50. Default 15 | |
| model | No | Only this model, matched on its name or id, e.g. "kling" | |
| scope | No | brand (default) = every project in this brand. this_project = only this chat's project (needs project_id) | |
| cursor | No | From a previous call's "More" line, for the next page of transactions | |
| period | No | Window ending now. Default 30d. Ignored when from is given | |
| status | No | Transactions to list: all (default), charged, or refunded failures only | |
| group_by | No | Breakdown to show. Default model | |
| project_id | No | Opaque per-chat project id: "p-" plus 6 random letters and digits. Every chat is a new project. Mint one on your first emero call and pass that SAME id on every call in this chat. Never mint a second one in the same chat, even for a new topic, campaign or subject. Only when the user asks to continue an earlier project, reuse its id from get_emero_brain's project list. An agent working in a folder (Claude Code, Codex) uses the folder's .emero.json project_id instead: load_skill("projects"). |