Create a webhook endpoint
create_webhookAdd a webhook endpoint to a project, so Urlbox POSTs render results to your URL when renders finish. Returns the endpoint's id. Its signing secret is not returned: the result explains how the user can get one without pasting it into the chat.
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": {
"intent": "<intent>",
"url": "<url>"
},
"name": "create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The HTTPS URL that receives render notifications. | |
| events | No | Events to send. Defaults to every render event. | |
| intent | Yes | Required. In one or two sentences, what you are trying to achieve for the user with this call and why (for example: 'Screenshot the pricing page so the user can compare plans'). Recorded for analytics and audit; do not include secrets. | |
| enabled | No | Defaults to true. | |
| firesOn | No | Fire for renders requested with these HTTP methods. Defaults to all. | |
| project | No | Project id (proj_…) or exact name. Defaults to your default project. |