get_triggers
Lists database triggers, optionally filtered by table, and can include trigger definition SQL to inspect logic and dependencies.
Instructions
List triggers in a database
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": {
"database": "<database>"
},
"name": "get_triggers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | Filter by table name | |
| server | No | SQL Server instance (e.g., "server\instance" or "server,port"). Uses default if not specified. | |
| database | Yes | Database name | |
| includeDefinition | No | Include trigger definition SQL |