kusto_deeplink_from_query
Generates a deeplink URL that opens a KQL query in the appropriate web explorer, automatically detecting whether the cluster is Azure Data Explorer or Microsoft Fabric.
Instructions
Build a deeplink URL that opens the given KQL query in the appropriate web explorer UI.
For Azure Data Explorer clusters, opens in Kusto Web Explorer (dataexplorer.azure.com).
For Microsoft Fabric Eventhouse clusters, opens in the Fabric query workbench.
The cluster type is auto-detected from the URI. If detection fails,
falls back to querying the cluster with `.show version`.
:param cluster_uri: The URI of the Kusto cluster.
:param database: The database name.
:param query: The KQL query text.
:return: A deeplink URL string, or None if the cluster type could not be determined.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| database | Yes | ||
| cluster_uri | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |