webhooks.cc
v2.6.2Capture, inspect, send and assert on webhooks and inbound email from your coding agent.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_endpoint Create endpoint
Create a temporary webhook capture endpoint in the agent sandbox (no account needed): up to 3 endpoints at a time, 25 captured requests each and 100 in all, deleted 24 hours after the sandbox was created. The first call registers the sandbox, which takes a few seconds of proof of work. Mock responses, notifications and signature verification need an account: see connect_account.
| Parameter | Type | Description |
|---|---|---|
ephemeral | boolean | Create a temporary endpoint that auto-expires |
expiresIn | string | number | Auto-expire after this duration, for example "12h" |
mockResponse | object | Optional mock response to return when the endpoint receives a request |
name | string | Display name for the endpoint |
notificationUrl | string | URL to POST a JSON summary to after each captured request (e.g. Slack/Discord webhook) |
responseRules | array | Conditional response rules. Each rule has conditions and a response. First matching rule wins. |
signingHeader | string | Custom signature header name. Only used with generic-hmac provider. |
signingProvider | string | Signing provider for automatic signature verification |
signingSecret | string | Signing secret (encrypted server-side, never returned); for discord, the application's public key (64 hex characters). Required when signingProvider is set. |
site | string | Which site's dashboard lists the endpoint: webhooks (webhooks.cc), mailhooks (mailhooks.cc) or both (the default when creating). Only the listing: its HTTP URL and email address work either way. Owner… |
list_endpoints List endpoints
List this agent's sandbox endpoints. Empty until create_endpoint starts the sandbox.
| Parameter | Type | Description |
|---|---|---|
team | string | Team id or name (case-insensitive). Keeps endpoints shared with you from that team and endpoints you own that are shared with it. |
get_endpoint Get endpoint
Get one of this agent's sandbox endpoints by slug, with its sandbox limits and usage.
| Parameter | Type | Description |
|---|---|---|
slug * | string | The endpoint slug |
delete_endpoint Delete endpoint
Delete one of this agent's sandbox endpoints and its captured requests. Frees a slot; the sandbox's request budget is not refunded.
| Parameter | Type | Description |
|---|---|---|
slug * | string | The endpoint slug to delete |
list_requests List requests
List recent requests captured by a sandbox endpoint, newest first.
| Parameter | Type | Description |
|---|---|---|
endpointSlug * | string | The endpoint slug |
kind | string | Only HTTP requests ("http") or only captured emails ("email") |
limit | integer | Max requests to return |
since | number | Only return requests after this timestamp in ms |
get_request Get request
Get full details for a request captured by a sandbox endpoint.
| Parameter | Type | Description |
|---|---|---|
requestId * | string | The request ID |
wait_for_request Wait for request
Wait for a request to arrive at a sandbox endpoint.
| Parameter | Type | Description |
|---|---|---|
endpointSlug * | string | The endpoint slug to monitor |
pollInterval | string | number | Interval between polls, for example "500ms" or "1s" |
timeout | string | number | How long to wait, for example "30s" |
generate_payload_schema Generate payload schema
Generate TypeScript interfaces, Zod schemas, Pydantic models, or JSON Schema from the bodies of requests captured by a sandbox endpoint. Several requests of one event teach which fields are optional or nullable.
| Parameter | Type | Description |
|---|---|---|
endpointSlug * | string | The endpoint slug |
event | string | Only requests whose detected provider event matches, e.g. "invoice.paid" or "push". One event per schema gives the tightest types. |
format | string | Output: "typescript" interfaces, "zod" schemas, "pydantic" models, or "json-schema" |
limit | integer | How many of the latest requests to read before filtering |
method | string | Only requests with this HTTP method |
name | string | Root type name (default: from the detected event, else WebhookPayload) |
path | string | Only requests with this path |
requestIds | array | Use exactly these requests instead of the latest ones |
connect_account Connect account
Connect this agent to a human's webhooks.cc account, for the full tool set (mock responses, signatures, email, teams) and to keep the sandbox endpoints. Returns a link and a 6-digit code: show both to the human, who signs in or signs up with that email and enters the code. Then call wait_for_connection. Calling again gives a new code.
| Parameter | Type | Description |
|---|---|---|
email * | string | The email the human signs in to webhooks.cc with (their GitHub or Google primary email if they sign in that way); only someone signed in as it can connect |
wait_for_connection Wait for connection
Wait for the human to enter the code from connect_account. On success the full webhooks.cc tools for their account replace these sandbox tools. Returns after timeoutSeconds (default 45) if they have not finished yet; call it again to keep waiting.
| Parameter | Type | Description |
|---|---|---|
timeoutSeconds | integer | How long to wait, in seconds (default 45) |
about_sandbox About sandbox
Explain what this agent can do without a webhooks.cc account, the sandbox limits, and how to connect an account. No network call.