proxy_session_stop
Stop persistent network traffic capture and finalize the active session to complete analysis or testing.
Instructions
Stop persistent on-disk capture and finalize the active session.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/sessions.ts:51-65 (handler)The handler for "proxy_session_stop" tool which stops the persistent session via `proxyManager.stopSession()`.
server.tool( "proxy_session_stop", "Stop persistent on-disk capture and finalize the active session.", {}, async () => { try { const session = await proxyManager.stopSession(); return { content: [{ type: "text", text: JSON.stringify({ status: "success", session }) }], }; } catch (e) { return { content: [{ type: "text", text: JSON.stringify({ status: "error", error: toError(e) }) }] }; } }, );