proxy_get_tls_config
Retrieve the current TLS capture and spoofing configuration to inspect or modify proxy traffic handling.
Instructions
Get current TLS capture and spoofing configuration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/tls.ts:252-268 (registration)Registration of the 'proxy_get_tls_config' tool via server.tool() with name, description, empty schema (no parameters), and an async handler that calls proxyManager.getTlsConfig().
// ── Get TLS config ── server.tool( "proxy_get_tls_config", "Get current TLS capture and spoofing configuration.", {}, async () => { return { content: [{ type: "text" as const, text: JSON.stringify({ status: "success", ...proxyManager.getTlsConfig(), }), }], }; }, ); - src/tools/tls.ts:257-267 (handler)Handler function for proxy_get_tls_config: returns the current TLS capture and spoofing configuration by calling proxyManager.getTlsConfig().
async () => { return { content: [{ type: "text" as const, text: JSON.stringify({ status: "success", ...proxyManager.getTlsConfig(), }), }], }; }, - src/state.ts:1095-1100 (helper)ProxyManager.getTlsConfig() helper method that returns an object containing serverTlsCaptureEnabled (boolean) and ja3SpoofConfig (FingerprintSpoofConfig | null).
getTlsConfig(): object { return { serverTlsCaptureEnabled: this.isServerTlsCaptureEnabled(), ja3SpoofConfig: this._ja3SpoofConfig, }; } - src/tools/tls.ts:255-256 (schema)Schema for proxy_get_tls_config: empty object {} meaning no input parameters are accepted.
"Get current TLS capture and spoofing configuration.", {},