put-policy
Define or modify a RabbitMQ policy to set rules for queues or exchanges in a virtual host, using pattern and definition parameters.
Instructions
Create or update a policy for a vhost.
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": {
"vhost": "<vhost>",
"name": "<name>",
"pattern": "<pattern>",
"definition": "<definition>"
},
"name": "put-policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vhost | Yes | ||
| name | Yes | ||
| pattern | Yes | ||
| definition | Yes | ||
| priority | No | ||
| apply_to | No |