Get Usage
get_usageAI credits and export minutes left for the user in this workspace, and the plan. Call it only when the user asks about credits, limits or export minutes. Returns { credits, export_minutes, speech, plan, cycle_ends_at }.
credits is { left (what the user can spend now), personal ({ allowance, used } for this cycle, when the workspace gives members an allowance), workspace_left, resets_at }. export_minutes is { used, limit, left } for this billing cycle; limit and left are null when exports are unlimited. A video counts once, at its longest export, so re-exporting it does not use more. speech is { used_seconds, limit_seconds, left_seconds, resets_at } for AI speech generation (voiceover_batch's quota, separate from credits); limit and left are null when uncapped.
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 |
|---|---|---|---|
No arguments | |||