kusto_sample_entity
Sample data from a specified Kusto entity (table, view, etc.) by providing entity name, type, and cluster URI. Optionally set sample size and database.
Instructions
Retrieves a data sample from the specified entity.
If no database is provided, uses the default database.
:param entity_name: Name of the entity to sample data from.
:param entity_type: Type of the entity (table, external-table, materialized-view, function, graph).
:param cluster_uri: The URI of the Kusto cluster.
:param sample_size: Number of records to sample. Defaults to 10.
:param database: Optional database name. If not provided, uses the default database.
:param client_request_properties: Optional dictionary of additional client request properties.
:return: List of dictionaries containing sampled records.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entity_name": "<entity_name>",
"entity_type": "<entity_type>",
"cluster_uri": "<cluster_uri>"
},
"name": "kusto_sample_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | ||
| cluster_uri | Yes | ||
| entity_name | Yes | ||
| entity_type | Yes | ||
| sample_size | No | ||
| client_request_properties | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||