create_trigger_webhook
Creates a trigger webhook to call an external URL when a Parse class lifecycle event such as beforeSave or afterDelete occurs, enabling event-driven integrations.
Instructions
Create a new trigger webhook that calls an external URL when a class lifecycle event occurs (e.g., beforeSave, afterDelete). The URL must be accessible from the Parse Server.
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": {
"appObjectId": "<appObjectId>",
"className": "<className>",
"triggerName": "<triggerName>",
"url": "<url>"
},
"name": "create_trigger_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The external URL to call when the trigger fires | |
| className | Yes | The class name to attach the trigger to (e.g., "GameScore", "_User") | |
| appObjectId | Yes | The app: its name or objectId (see list_apps) | |
| triggerName | Yes | The trigger type: beforeSave, afterSave, beforeDelete, afterDelete, beforeFind, or afterFind |