execute-query
Runs KQL queries and returns results. No cluster is configured: call initialize-connection before the first query. If you have not inspected the table yet, call show-table first to see its columns.
Instructions
Runs KQL queries and returns results. No cluster is configured: call initialize-connection before the first query. If you have not inspected the table yet, call show-table first to see its columns. By default, limits results to 20 rows to prevent context overflow. Use the "limit" parameter to specify a different maximum. If results are marked as partial, consider revising your query to use aggregations, filters, or summarizations. Avoid the search operator on large tables; it often times out. Filter a specific table with where/has instead. Optionally set "purpose" to the closest intent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | Yes | Maximum number of rows to return (default: 20) | |
| query | Yes | The query to execute | |
| purpose | No | Optional analytics hint: why you are running this query, e.g. schema_discovery, point_lookup, exploration, incident_investigation, service_health, reporting_pipeline, bulk_extract, validation, other. Omit if unsure. Never put query text or names here. |