Current limits
current_limitsRetrieve remaining Claude usage limits for 5-hour, weekly, and per-model windows, plus per-product breakdowns for Claude Code, chat, and Cowork. Optionally log the current snapshot before it resets.
Instructions
Asks Anthropic what is left right now: the 5-hour, weekly and per-model (Fable) limits, plus the per-product breakdown (Claude Code / chat / Cowork). Reads Claude Code's credentials from the macOS keychain and sends them only to api.anthropic.com. record=true appends one sample to data/usage-log.jsonl — the breakdown covers only the current weekly window and is gone once that window rolls over, so it is worth recording now and then.
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": "current_limits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | No | Append one sample to the log file |