Get JsonFabrica tenant usage
jsonfabrica_get_usageRetrieve usage statistics for the configured API key, returning tenant ID, total usage, and timestamp.
Instructions
Calls GET /v1/usage. Returns { tenantId, usageTotal, asOf } for the configured API key.
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": "jsonfabrica_get_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | Yes | ISO-8601 timestamp the usage total was computed as of. | |
| tenantId | Yes | Tenant id the usage totals belong to. | |
| usageTotal | Yes | Cumulative metered usage units consumed by this tenant. |