proxy_clear_upstream
Remove the global upstream proxy to send traffic directly to target servers, bypassing intermediate proxy layers.
Instructions
Remove the global upstream proxy. Traffic will go directly to target servers.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/upstream.ts:36-53 (handler)The tool handler for proxy_clear_upstream which calls proxyManager.clearGlobalUpstream() to remove the upstream proxy.
server.tool( "proxy_clear_upstream", "Remove the global upstream proxy. Traffic will go directly to target servers.", {}, async () => { try { await proxyManager.clearGlobalUpstream(); return { content: [{ type: "text", text: JSON.stringify({ status: "success", message: "Global upstream cleared." }), }], }; } catch (e) { return { content: [{ type: "text", text: JSON.stringify({ status: "error", error: String(e) }) }] }; } }, );