port_forward
Forward a local port to a Kubernetes resource port to reach internal services and debug workloads without public exposure.
Instructions
Forward a local port to a port on a Kubernetes resource
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": {
"resourceType": "<resourceType>",
"resourceName": "<resourceName>",
"localPort": "<localPort>",
"targetPort": "<targetPort>"
},
"name": "port_forward"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| localPort | Yes | ||
| namespace | No | ||
| targetPort | Yes | ||
| resourceName | Yes | ||
| resourceType | Yes |