list_policies
List RabbitMQ policies by vhost or all vhosts to inspect pattern, priority, and definition; detect truncated results when the set is incomplete.
Instructions
[READ] Policies (optionally one vhost) with pattern, priority, definition.
Args: vhost: Restrict to one vhost (the default vhost is '/'); omit for all. target: rabbitmq target name from config; omit for the default.
Returns an envelope: {"policies": [...], "returned": N, "limit": L, "truncated": bool}. When "truncated" is true there is more than was returned — do not treat this as the complete set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vhost | No | ||
| target | No |