proxy_list_rules
Display all interception rules organized by priority to manage network traffic capture and modification across browsers, CLI tools, Docker containers, and Android devices.
Instructions
List all interception rules sorted by priority.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/rules.ts:133-146 (handler)Implementation of the `proxy_list_rules` tool which lists all interception rules using `proxyManager.listRules()`.
server.tool( "proxy_list_rules", "List all interception rules sorted by priority.", {}, async () => { const rules = proxyManager.listRules(); return { content: [{ type: "text", text: JSON.stringify({ status: "success", count: rules.length, rules }), }], }; }, );