Trace Port Namespace
trace_port_namespaceLocate the container actively using or mapping a specified port on a target host, resolving port conflicts and identifying which workload holds the binding.
Instructions
Locate the container actively using/mapping the specified port on the target host.
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": {
"port": "<port>"
},
"name": "trace_port_namespace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Remote host alias to target that machine's Docker over SSH (resolved from the tunnel-manager inventory). Omit for the LOCAL Docker socket. Call cm_list_hosts to see the available aliases. Note: swarm-cluster actions (list_nodes/services) must target a swarm MANAGER node. | |
| port | Yes | Port number to trace | |
| manager_type | No | Container manager: docker, podman, kubernetes (default: auto-detect) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |