llm_refresh_claude_usage
Refresh Claude subscription usage data by reading the OAuth token from the macOS Keychain and calling the Anthropic API, updating the local cache without opening a browser.
Instructions
Refresh Claude subscription usage via the OAuth API — no browser required.
Reads the Claude Code OAuth token from the macOS Keychain, calls the Anthropic OAuth usage endpoint, and updates the local usage cache.
Requires: Claude Code installed and authenticated on macOS.
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": "llm_refresh_claude_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |