proxy_clear_traffic
Clear all captured network traffic from the proxy buffer to reset monitoring and prepare for new traffic analysis sessions.
Instructions
Clear all captured traffic from the buffer.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/traffic.ts:127-140 (handler)The handler for proxy_clear_traffic which clears captured traffic via proxyManager.clearTraffic().
server.tool( "proxy_clear_traffic", "Clear all captured traffic from the buffer.", {}, async () => { const count = proxyManager.clearTraffic(); return { content: [{ type: "text", text: JSON.stringify({ status: "success", cleared: count }), }], }; }, );