Get Workspace Usage
getWorkspaceUsageGet the current usage and entitlement snapshot for your workspace: subscription tier, when the billing period ends (currentPeriodEnd), free-minute pool balances (testing/loadTesting/mapping/s2s/s2stest/compliance), purchased-pack balances, current-period consumption, and remaining LLM-enrichment tokens. Takes no arguments: the workspace is always the API key's own. Use when: someone asks how many minutes are left, what tier they are on, or whether there is enough capacity before kicking off an expensive job. Figures are seconds and tokens, never money. Read-only.
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": "getWorkspaceUsage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pools | Yes | ||
| tokens | Yes | ||
| workspaceId | Yes | ||
| currentPeriodEnd | No | ISO8601 timestamp when the current billing period ends. Free-tier pools reset at this time. | |
| subscriptionTier | Yes |