create_binding
Bind an exchange to a queue or exchange in RabbitMQ using a routing key and virtual host to enable message routing.
Instructions
创建交换机到队列的绑定
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": {
"source": "<source>",
"destination": "<destination>"
},
"name": "create_binding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vhost | No | 虚拟主机名称 (默认: /) | / |
| source | Yes | 源交换机名称 | |
| destination | Yes | 目标队列名称 | |
| routing_key | No | 路由键 (默认: "") | |
| destination_type | No | 目标类型 (queue或exchange,默认: queue) | queue |