remote_port_stop
Stop a specific port forward by its ID to terminate the remote connection and free up resources.
Instructions
Stop a specific port forward by ID.
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": {
"forwardId": "<forwardId>"
},
"name": "remote_port_stop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| forwardId | Yes | Forward ID (e.g., fwd-1) | |
| sessionId | No | Session ID (optional) |