Usage Summary
usage_summaryReports this session's MyArchitectAI usage—generation counts, total USD spent, last known balance, and per-tool breakdown—without charging the API account.
Instructions
Report this session's MyArchitectAI usage: number of generations, total USD spent, the last known balance (from the most recent generation — no paid call), and a per-tool breakdown. Spend includes retained content policy charges; generation counts include successful outputs only. Does not charge the API account.
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": "usage_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | Yes | Timestamp of the first recorded generation, or null. | |
| byTool | Yes | Per-tool breakdown of count and cost. | |
| totalCost | Yes | Total USD spent this session. | |
| lastKnownBalance | Yes | Most recent balance reported by the API (from a successful or failed call), or null if none yet. | |
| totalGenerations | Yes | Number of successful generations recorded this session. | |
| apiKeyFingerprint | Yes | Masked fingerprint (leading ellipsis + last 4 characters) of the active API key, so you can confirm which key is in use without exposing the full secret. | |
| failedGenerations | Yes | Number of generations that failed with an API/validation error this session. |