describe_trigger
Retrieve detailed information about a specific SQL Server trigger, including its definition and associated events. Define the trigger name and optionally include a connection string or named connection.
Instructions
Get detailed information about a specific trigger including its definition and events
Input Schema
Name | Required | Description | Default |
---|---|---|---|
connectionName | No | Named connection to use (e.g., 'production', 'staging') | |
connectionString | No | SQL Server connection string (uses default if not provided) | |
includeDefinition | No | Include the trigger definition (default: true) | |
triggerName | Yes | Name of the trigger to describe |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"connectionName": {
"description": "Named connection to use (e.g., 'production', 'staging')",
"type": "string"
},
"connectionString": {
"description": "SQL Server connection string (uses default if not provided)",
"type": "string"
},
"includeDefinition": {
"description": "Include the trigger definition (default: true)",
"type": "boolean"
},
"triggerName": {
"description": "Name of the trigger to describe",
"type": "string"
}
},
"required": [
"triggerName"
],
"type": "object"
}