getTriggerDefinition
getTriggerDefinitionGet the full SQL definition of a known table trigger by specifying database, table, and trigger name. Use with describeTable to discover trigger names first.
Instructions
Return the full definition/body of one known table trigger. For trigger names and compact metadata, use describeTable first.
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": {
"connection": "<connection>",
"table": "<table>",
"trigger": "<trigger>"
},
"name": "getTriggerDefinition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| schema | No | ||
| trigger | Yes | ||
| connection | Yes | Database to run against. Call listConnections for valid names; do not guess. |