rabbitmq_bind_queue
Bind a queue to a specified exchange using a routing key to control message routing. Optionally pass binding arguments; write access must be enabled.
Instructions
将队列绑定至指定交换机并配置路由键 (Routing Key).
受全局写保护门禁 (--allow-write) 约束。
@param queue 目标队列名称 @param exchange 目标交换机名称 @param routing_key 路由键,默认为空字符串 @param arguments 可选绑定参数 @param connection 目标连接别名,默认为 'default' @return 绑定结果报告
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": {
"queue": "<queue>",
"exchange": "<exchange>"
},
"name": "rabbitmq_bind_queue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queue | Yes | ||
| exchange | Yes | ||
| arguments | No | ||
| connection | No | default | |
| routing_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||