interceptor_spawn
Spawn a command with proxy env vars pre-set so traffic routes through the MITM proxy, enabling capture, modification, and mocking.
Instructions
Spawn a command with proxy env vars pre-configured (HTTP_PROXY, HTTPS_PROXY, SSL_CERT_FILE, NODE_EXTRA_CA_CERTS, CURL_CA_BUNDLE, and 15+ more). Traffic automatically routes through the MITM proxy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory (default: current) | |
| env | No | Additional env vars to set | |
| args | No | Command arguments | |
| command | Yes | Command to run (e.g., 'curl', 'node', 'python') |