Create inbound webhook
stack_create_inbound_webhookCreate a hosted inbound webhook and return its URL and metadata. STACK verifies signatures on received calls, scans the content for prompt injection and forwards clean calls to forward_url. Signing is configured by an owner or admin through the REST API or SDK (https://getstack.run/docs/api/inbound-webhooks); this tool returns no signing secret.
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": {
"provider": "<provider>",
"agent_id": "<agent_id>"
},
"name": "stack_create_inbound_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Agent ID to attribute security_events to (e.g. agt_*). The agent must belong to the calling operator. | |
| provider | Yes | Provider identifier. 'agentmail' uses AgentMail's payload shape; 'generic' accepts any JSON webhook with HMAC-SHA256 + X-Webhook-Signature header (configurable). | |
| forward_url | No | Downstream URL STACK POSTs to after a clean scan. Leave null/unset for log-only mode (scan runs, decision recorded, no forward). Must be publicly accessible (no localhost/private ranges). | |
| generic_config | No | Only valid when provider='generic'. Configures HMAC scheme + scan content extraction. |