MCP Tool
webhooks_write
Manage webhook endpoints and their captured events. Actions: `create` (requires `name`) returns the endpoint including the catch URL to POST to; `update`/`delete` act on an endpoint (`id`); `delete_event` removes one captured event (`id` + `event_id`); `clear_events` removes all events for an endpoint (`id`).
Input schema
api_keystringOptional API key for authentication.action"create" | "update" | "delete" | "delete_event" | "clear_events"requiredThe operation to perform.idstringEndpoint ID (required for everything except create).event_idstringEvent ID (required for delete_event).namestringEndpoint name (required for create).descriptionstring | nullEndpoint description (null to clear).max_eventsinteger | nullMax events to retain (default 100; null to reset).Example call
tools/call params
{
"name": "webhooks_write",
"arguments": {
"api_key": "agt_…",
"action": "create"
}
}