get_trigger_source
Retrieve the full PSQL source body of a trigger by specifying the database and trigger name. Returns the raw trigger code or an error if not found.
Instructions
Return the full PSQL source body of a trigger. database: key from list_databases. trigger: trigger name from list_triggers (use just the name, not the '(on TABLE)' suffix) — automatically uppercased. Returns the raw PSQL body text, or an error message if not found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | ||
| trigger | Yes |