Storage and AI credits left
tarkle_get_usageOne workspace's storage (usedBytes, limitBytes, freeBytes, bytes by kind of file, region, and how it gets its space: own, shared from the organization's pool, or assigned) and the AI credits it can still spend today and this month (aiCredits: payer tarkle or own_key, today, thisMonth, the plan allowance, the workspace caps, extra credits, when each window resets). A null limit means no limit. Asking questions (tarkle_ask) and reading data with Studio spend credits; reading files and searching do not.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspaceId": "<workspaceId>"
},
"name": "tarkle_get_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| llm_model | No | The model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics. | |
| workspaceId | Yes | The workspace's id, from tarkle_list_workspaces. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| storage | No | ||
| aiCredits | No | ||
| workspaceId | No |