Show storage usage
storage_usageRead storage usage for your account, or a team you belong to (team): the plan, bytes used and the limit (null: no limit), bytes per workspace, standalone and bundle bytes, trashBytes (the part of usedBytes in the trash), and the largest artifacts with their current and history bytes. Every kept version, table row and bundle version counts, and so does the trash until it is purged. A workspace counts toward its owner. A platform admin reads any team, or another account with account (an account id or alias; anyone else: FORBIDDEN).
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": "storage_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | No | A team's storage, by slug or id (members only; a platform admin reads any team's). | |
| account | No | Another account's storage, by account id or alias (platform admins only; anyone else is refused FORBIDDEN). Not with team. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | ||
| payer | Yes | ||
| largest | Yes | ||
| usedBytes | Yes | ||
| limitBytes | Yes | ||
| trashBytes | Yes | ||
| workspaces | Yes | ||
| bundleBytes | Yes | ||
| standaloneBytes | Yes |