get_demo_diagnostics
Read one Application demo's tracked record (status, kind, branch or pr_number, image tag, container port, last_error, preview URL, expiry) plus a bounded log tail of the demo container's most recent start attempt - on a crash-looping container the tail shows the crashed attempt's output, which usually names exactly which environment variables the application demands. Use this for a crash-looping or failed demo (CrashLoopBackOff, a container that exits at startup, status failed) before changing its configuration. For 'the preview does not load / does not resolve / certificate error' start with inspect_demo instead: it reads the live namespace inventory and probes the URL, which this tool does not. Identify the demo by workspace_id or namespace (list_application_demos shows both).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | The demo namespace (ankra-demo-pr-* / ankra-demo-br-*). Optional if workspace_id is given. | |
| tail_lines | No | Log lines to tail from the demo container (default 200). | |
| workspace_id | No | The demo's workspace id. Optional if namespace is given. | |
| application_id | Yes | The Application whose demo to diagnose. |