set_webhook
Register a standing webhook: Siren POSTs every run event in this workspace to the URL, so no agent has to poll. For one run only, pass callback_url to create_campaign or render_asset instead. Each POST is JSON {type, run_id, workspace_id, timestamp, data: {status, asset_url, caption, error, output_type, campaign_id}} signed with the secret: Standard Webhooks headers (webhook-id, webhook-timestamp, webhook-signature) plus X-Signature-256 (hex HMAC-SHA256 of the raw body). The secret is shown once; keep it.
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>"
},
"name": "set_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | https URL that receives every run event in this workspace. Must resolve to a public address. | |
| label | No | A name for it, e.g. "my agent". | |
| events | No | Any of run.completed, run.failed, run.posted. Omit for all three. | |
| secret | No | Signing secret, 16 to 80 characters. Omit and Siren mints one (returned once). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||