rabbitmq__CreateExchange
Creates a RabbitMQ exchange in a specified instance and vhost with configurable type, durability, and auto-delete settings for routing messages.
Instructions
[RABBITMQ] 创建Exchange。
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": {
"auto_delete": "<auto_delete>",
"instance_id": "<instance_id>",
"name": "<name>",
"project_id": "<project_id>",
"type": "<type>",
"vhost": "<vhost>"
},
"name": "rabbitmq__CreateExchange"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exchange名称 | |
| type | Yes | 类型(direct、fanout、topic、headers) | |
| vhost | Yes | Vhost名称 | |
| durable | No | 是否持久化(AMQP版本默认持久化,不涉及此参数)。 | |
| internal | No | 内部Exchange(AMQP版本不支持内部Exchange,不涉及此参数)。 | |
| arguments | No | 参数列表 | |
| project_id | Yes | 项目ID,获取方式请参见[获取项目ID](rabbitmq-api-190611012.xml)。 | |
| auto_delete | Yes | 是否自动删除 | |
| instance_id | Yes | 实例ID |