Agent webhook inbox: a public URL that stores incoming HTTP requests (webhooks, callbacks) for an agent to read, 1-168 h
agent_webhookUse when an agent must receive a webhook or callback (payment, CI, form) but has no public server. Input: ttl_hours 1-168 (default 24). Output: public url https://1gateway.dev/h/…, id, one-time secret, read URL. Any method is stored (method, query, headers incl. signatures, body), answered 200. Reads free (header x-webhook-secret), ?wait=1-25 long-polls. Receive only; 50 requests, 64 KB each. Use instead: agent_inbox for email; watch_create for alerts on data changes. Example: GET /v1/agent/webhook?ttl_hours=24 Price: $0.01 per call, paid in USDC (Base, Monad, Polygon, Arbitrum or Solana) via x402.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "agent_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl_hours | No | Hours the URL stays live, 1-168 (default 24); the URL and every stored request are deleted after |