Check quotas and what this key may do
jj_check_usageCheck remaining conversion, read, and write quotas plus API key scopes in one call, and learn when allowances reset after a quota error.
Instructions
Returns, in one call, what the calling Jam Jam identity is allowed to do and how much of each allowance is left. THREE INDEPENDENT COUNTERS, they never borrow from one another: conversion (6 per week on a free account, 500 per calendar month on Premium, 3 per 24h anonymous), read (2000 per UTC day free, 20000 Premium, spent by the notebook and social listing tools) and write (200 per UTC day free, 5000 Premium, spent by the notebook writing tools). Stem separation and AI music detection keep their own counters, read with jj_stems_capabilities and jj_ai_music_availability. scopes lists the permissions of the API key in use. Call this before a batch, and after a quota error to learn when it resets. Costs nothing itself.
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": "jj_check_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||