generate_sql_database
Generate Azure SQL Database Bicep template — Server + DB + AAD-only auth + auditing
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": {
"serverName": "<serverName>",
"databaseName": "<databaseName>",
"location": "<location>",
"adAdminLogin": "<adAdminLogin>",
"adAdminObjectId": "<adAdminObjectId>"
},
"name": "generate_sql_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | DB SKU (Basic, S0, S1, S2, S3, P1, P2, GP_S_Gen5_2 for serverless) | |
| location | Yes | Azure region | |
| serverName | Yes | SQL Server name (globally unique, lowercase) | |
| adAdminLogin | Yes | Entra ID group/user to grant SQL admin | |
| databaseName | Yes | Database name | |
| adAdminObjectId | Yes | Object ID of the Entra principal above |