unexpose
Stops a localhost port forward established by an expose command, providing confirmation and connection stats.
Instructions
Stop a port forward previously created by expose.
Args: port: The localhost port to stop forwarding.
Returns: Confirmation with connection stats.
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": "unexpose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |