set_webhook
Set an HTTPS webhook that your agent runtime exposes so the inbox can notify it of new mail in realtime. Do not share the key. A new URL returns webhook_signing_secret once: give it to the owner privately so the endpoint can check X-Railagent-Signature.
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": {
"webhook_url": "<webhook_url>"
},
"name": "set_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | Agent token, if not sent as the Authorization: Bearer header. | |
| webhook_url | Yes | HTTPS URL your agent runtime exposes to receive webhook events | |
| webhook_authorization | No | Authorization header value to send with each webhook call, if your runtime requires one |