get_hook_metrics
Retrieve real-time metrics for webhooks including request counts and success/failure rates to monitor performance and identify issues.
Instructions
Get real-time metrics for a specific hook (request counts, success/failure rates).
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": {
"hookId": "<hookId>"
},
"name": "get_hook_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hookId | Yes | The ID of the hook | |
| timeWindow | No | Time window for metrics | hour |