get_portal_url
Build the Ankra portal (web UI) URL for a page, so you can hand the user a clickable link to what you are talking about: a cluster's overview, stacks, add-ons, operations, nodes, a pod or Deployment, an application, a pipeline run, a stack profile, an AI ticket, an alert, a CVE, credentials, tokens, settings and more. Pass page and the identifiers that page needs (ids come from the other tools' results; clusters are addressed by cluster_id, stacks and add-ons by name, workloads by namespace and name). The URL carries the organisation, so it opens in the right one. Offer the link whenever you report on a resource or ask the user to review, approve, or change something in the UI. Reads nothing and changes nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Kubernetes object name (pages pod, deployment, stateful_set, daemon_set, job, cron_job). | |
| page | Yes | Which portal page to link to. | |
| cve_id | No | CVE id such as CVE-2024-3094 (page cve). | |
| run_id | No | Run id (pages pipeline_run, agent_run). | |
| alert_id | No | Alert rule id (page alert). | |
| namespace | No | Kubernetes namespace (pages pod, deployment, stateful_set, daemon_set, job, cron_job). | |
| node_name | No | Kubernetes node name (page kubernetes_node). | |
| ticket_id | No | AI board ticket id (page ticket). | |
| addon_name | No | Add-on name as installed on the cluster (page addon). | |
| cluster_id | No | Cluster id (UUID) from list_clusters. Defaults to the conversation's cluster when it has one. | |
| profile_id | No | Stack profile id (page stack_profile). | |
| stack_name | No | Stack name (page stack). | |
| proposal_id | No | Cluster access policy proposal id (page cluster_access_policy, optional). | |
| operation_id | No | Operation id (pages cluster_operation, operation). | |
| repository_id | No | Pipeline repository id (page pipeline_run). | |
| application_id | No | Application id (pages application, application_pipelines, application_deployments). | |
| conversation_id | No | AI chat conversation id (page ai_chat, optional). |