get_ai_usage
Track AI token usage and estimated cost for the current MCP session, covering calls from design analysis, documentation, and composition tools.
Instructions
AI token usage and estimated cost for this MCP session (in-memory tracker; never throws; unknown when provider pricing is not configured).
Returns: { calls, inputTokens, outputTokens, estimatedCost, knownEstimatedCost, costComplete, unpricedCalls, summary }. Use to monitor spend from analyze_design, design_doc, or compose.
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_ai_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||