kql_database_get_definition
Retrieve the full definition of a KQL database and write definition files to a specified output directory. Use this tool to export database schema and settings for backup, version control, or migration.
Instructions
Get the definition of a KQL database (long-running). Writes definition files to the specified output directory.
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": {
"workspaceId": "<workspaceId>",
"kqlDatabaseId": "<kqlDatabaseId>",
"outputDirectoryPath": "<outputDirectoryPath>"
},
"name": "kql_database_get_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | Yes | The workspace ID | |
| kqlDatabaseId | Yes | The KQL database ID | |
| outputDirectoryPath | Yes | Directory path where definition files will be written |