Attach to Docker Container
intercept_docker_containerIntercept and inspect HTTP(S) traffic from Docker containers by injecting proxy settings to capture all outgoing web traffic for debugging purposes.
Instructions
Intercept all HTTP(S) traffic from a running Docker container. Injects proxy settings into the container to capture all outgoing HTTP traffic.
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": {
"proxyPort": "<proxyPort>",
"containerId": "<containerId>"
},
"name": "intercept_docker_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proxyPort | Yes | Proxy port to route traffic through | |
| containerId | Yes | Docker container ID to attach to. Use get_interceptor_metadata with id "docker-attach" to list available containers. |