test_webhook
Send a test event to a webhook endpoint.
WHEN TO USE:
Verifying webhook endpoint is working
Testing integration during development
Debugging webhook delivery issues
RETURNS:
success: Boolean indicating delivery success
response_code: HTTP response code from endpoint
response_time_ms: Response time in milliseconds
error: Error message if delivery failed
EXAMPLE: User: "Test my webhook with a device.online event" test_webhook({ webhook_id: "wh_mmmpdbvj_8b7c5a59296d", event: "device.online" })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | No | Event type to simulate (optional, defaults to device.online) | |
| webhook_id | Yes | Webhook ID to test (wh_xxx format or legacy ObjectId) |