forward_bucket
Set up standing forwarding from a bucket to a URL. Pass forward_all:true to forward every event, or condition_tree to forward only matching events (same AND/OR condition grammar the routing engine uses). Creates the destination and routing rule in one call.
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": {
"bucket_id": "<bucket_id>",
"url": "<url>"
},
"name": "forward_bucket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Destination URL to forward to. | |
| name | No | Optional label for the destination. | |
| bucket_id | Yes | The endpoint id. | |
| rule_name | No | Optional name for the routing rule when using condition_tree. | |
| forward_all | No | Forward every event unconditionally. | |
| condition_tree | No | A condition tree (AND/OR of field comparisons) to forward only matching events. Mutually exclusive with forward_all. |