Connect ClawCall call events
connect_webhookSend this account's call events (call.started for inbound calls, call.completed for every call) to an agent's own webhook trigger, such as a Grok Bot routine, then send a test event and return its result. get_calling_guide topic webhooks explains the setup. The user copies the trigger URL and key from their agent app and pastes them to you. Saving sets Authorization as the only custom header, and ClawCall emails the account owner whenever events start going to a new URL. If the account already sends events elsewhere, this fails with the current destination unless replace is true; confirm with the user first. Calling it again with the same URL and key re-tests the connection.
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": {
"url": "<url>",
"authorization": "<authorization>"
},
"name": "connect_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The agent's webhook trigger URL, exactly as the user copied it. | |
| replace | No | True replaces an existing endpoint on a different URL. Ask the user first. | |
| authorization | Yes | The trigger's key exactly as the user pasted it in chat. A bare key is sent as "Bearer <key>"; a value with a scheme is sent as given. A masked placeholder such as [REDACTED] is refused. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test | Yes | ||
| webhook | Yes |