interceptor_docker_attach
Inject proxy environment variables and CA certificate into a Docker container using live exec or restart mode to enable traffic interception.
Instructions
Inject proxy env vars and CA certificate into a Docker container. Two modes: 'exec' (inject into running container) or 'restart' (stop + restart with proxy config).
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": {
"container_id": "<container_id>"
},
"name": "interceptor_docker_attach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Injection mode: 'exec' (live injection) or 'restart' (stop + restart) | exec |
| container_id | Yes | Docker container ID or name |