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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"command": "<command>"
},
"name": "interceptor_spawn"
}
}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') |