API status and plan
check_api_statusCheck whether the Live Tennis API is reachable and which plan the configured key is on. Use it to find out why other tools are refusing data. Works with no key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message. | |
| tier | No | Detected plan: FREE, BASIC, PRO or ULTRA. Null when no key is configured. | |
| has_key | No | Whether a key was configured for this tool set. | |
| message | Yes | Human-readable summary of the result, safe to relay to the user verbatim. | |
| reachable | No | True when the API answered its health check. | |
| api_version | No | API version reported by the health check. |