agenttools
MCP Tool

webhooks_read

Read webhook endpoints and their captured events. With no `id`, lists your endpoints. With `id`, returns that endpoint (including its event count). With `id` + `event_id`, returns that single captured event. With `id` + `include_events: true`, returns the endpoint plus a page of its most recent events (honors `limit`/`after`).

Input schema

api_keystring
Optional API key for authentication.
idstring
Endpoint ID (e.g. wh_...). Omit to list endpoints.
event_idstring
Event ID (e.g. whe_...) to fetch a single captured event from the endpoint.
include_eventsboolean
When fetching an endpoint, also return a page of its recent events.
limitinteger
List size (1–100, default 20) for endpoint lists and event pages.
afterstring
List cursor: ID of the last item from the previous page.

Example call

tools/call params
{
  "name": "webhooks_read",
  "arguments": {
    "api_key": "agt_…"
  }
}