Get plan usage
get_usageWhat the account has consumed this period and what its plan allows — read from the meter an invoice is computed from.
Figures cover the whole ACCOUNT, not just this workspace: a plan is bought once and every workspace its owner owns draws from one pool. This is what will refuse the next write even when this workspace has barely been used.
When posts.included is a number, that many published actions a period are covered and each one past it is billed per action, never refused. Mention the extra cost before scheduling a bulk run that would go past it. When it is null, nothing is billed per action. A hard cap (posts.created.limit) applies only during a trial or after a failed payment, and counts posts published plus posts still waiting to publish. periodEnd is when the period resets.
Requires a key with the read scope, unlike the other reads here: consumption is commercial information about the workspace rather than the user’s own content.
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 | |||