Set event webhook
set_webhookRegister a URL that receives signed POSTs when the instance comes up, stops, fails, is deleted, when a payment is confirmed and before deletion for non-payment — instead of polling get_instance_health. Returns the HMAC secret once.
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": {
"id": "<id>",
"url": "<url>"
},
"name": "set_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Instance (agent) id, as returned by create_instance or list_instances. | |
| url | Yes | Public http(s) URL to POST signed pod events to. Private and loopback hosts are refused. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Instance id. | |
| url | Yes | The webhook URL now in effect. | |
| events | Yes | Event types that will be delivered. | |
| secret | Yes | HMAC-SHA256 key for X-AgentsPodium-Signature. Shown once — store it. |