Roo — set webhook
roo_set_webhookConfigure a webhook that fires an HTTP request to your endpoint on every shortlink click. Provide the endpoint; defaults fill the rest and the redirect destination remains unchanged.
Instructions
Fire an HTTP request to endpoint on every click. Roo requires 8 fields; this tool defaults 7 of them — you only need to provide the endpoint. The webhook does NOT change where the shortlink redirects to; the destination is unchanged.
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>",
"endpoint": "<endpoint>"
},
"name": "roo_set_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Shortlink id. | |
| body | No | Request body as a raw STRING (JSON as a string, not an object). Default "{}". | |
| name | No | Display name for the webhook (default: derived from context). | |
| method | No | HTTP method (default POST). | |
| headers | No | Custom HTTP headers. | |
| endpoint | Yes | Webhook target URL — Roo POSTs (or your chosen method) here on every click. | |
| add_metadata | No | Include Roo click metadata (referrer, IP, etc.) in the webhook payload (default true). | |
| content_type | No | Body content type (default application/json). | |
| query_string | No | Query-string parameters appended to endpoint. |