inspect_demo
The first call for any question about an Application demo or preview that does not work, does not load, times out, shows a certificate error, or says ready but cannot be opened. One call reads the demo record, the live state of its namespace on the staging cluster reduced to what decides reachability (deployment ready/desired counts, pod container waiting and terminated reasons with restarts, service selector and ready endpoint count, ingress hosts, address and TLS secret, cert-manager certificate readiness when present, the newest Warning events), probes the preview URL live from the Ankra platform (reachable, failure_stage dns/connect/timeout, HTTP status, resolved IP, TLS verified/issuer/days_until_expiry), and returns a verdict naming the first broken hop in plain words (for example 'hostname does not resolve (NXDOMAIN); the workload is healthy'). Answer from the verdict; do not re-read pods, services, ingresses or events yourself. read_failures lists what could not be read, so an empty inventory list means absent only when read_failures is empty. Identify the demo by workspace_id, namespace or preview_url (any one; list_application_demos shows all three). For a crash-looping container follow up with get_demo_diagnostics for the log tail. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | The demo namespace (ankra-demo-pr-* / ankra-demo-br-*). Optional if workspace_id or preview_url is given. | |
| preview_url | No | The preview URL or hostname the user is trying to open, matched against the demo's recorded preview_url. Optional if workspace_id or namespace is given. | |
| workspace_id | No | The demo's workspace id. Optional if namespace or preview_url is given. | |
| application_id | Yes | The Application whose demo to inspect. |