kusto_script
Execute KQL scripts from files for batch operations on Azure Data Explorer clusters.
Instructions
Execute a Kusto script file containing multiple KQL statements. Useful for running saved queries or batch operations.
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": {
"scriptPath": "<scriptPath>"
},
"name": "kusto_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scriptPath | Yes | Path to the script file containing KQL statements | |
| connectionName | No | Name of a saved connection to use | |
| database | No | Database name (overrides connection default) | |
| multiLine | No | Enable multi-line mode for statements spanning multiple lines | |
| quitOnError | No | Stop execution on first error | |
| timeout | No | Execution timeout in milliseconds | |
| format | No | Output format |