get_usage
Check NewsAPI.ai account token balance: tokens available, used, and remaining for the current period, plus this server's session budget before running metered searches.
Instructions
Get the token budget of this NewsAPI.ai account: tokens available, used and remaining for the current period. Call it before a batch of searches (measured costs: search_articles and get_article 1 token, search_events and get_event info 5, get_trending_concepts 10). Free: does not consume tokens itself. Suggest tools are free too. Also reports this server’s session budget (NEWSAPI_AI_MAX_TOKENS_PER_SESSION, default 200): calls that would exceed it fail locally without reaching the API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||