get_trigger_definition
Fetch the complete source definition of a DML trigger by providing its schema and name. Useful for reviewing trigger logic in SQL Server or PostgreSQL.
Instructions
Get the full source definition of a DML trigger
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Trigger name | |
| schema | Yes | Schema of the parent table the trigger belongs to (e.g. dbo) | |
| database | No | Database name (defaults to the configured default database) |