Check CloudCDN health
cloudcdn_healthCheck whether the CloudCDN API is up before acting, or after purge/search fails, to distinguish an outage from a bad request.
Instructions
Check whether the CloudCDN API is up before acting on it, or after another tool such as cloudcdn_purge or cloudcdn_search fails, to tell an outage from a bad request. Calls GET /api/health (with ?deep=1 when deep is true) and returns its JSON: status ("ok", or "degraded" when a required binding is down), timestamp (ISO 8601), apiVersion, bindings (each backing binding's name mapped to true when it is configured), and checks, a list of probes with name, configured, healthy, method and, for bindings the API can run without, optional. Without deep each probe only checks that the binding exists (method "shape"); with deep the assets and KV probes make real reads and add latencyMs, and error when they fail, which is slower. Read-only, stores nothing, safe to repeat, needs no key. A degraded API answers HTTP 503: the request is retried (3 times by default), then the call fails as a tool error carrying the same body and exit code 75. A network failure after the retries is a JSON-RPC error.
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": "cloudcdn_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deep | No | true to probe the assets and KV bindings with real reads (slower; adds latencyMs and error), after a "degraded" status, to see which binding is down. Omit or false for the quick existence check. |