Stop port forward
unforwardStops an active port forward for a specified peer and local port, ending the connection created by the corresponding forwarding request.
Instructions
Stop a forward started with forward.
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": {
"peer": "<peer>",
"local_port": "<local_port>"
},
"name": "unforward"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | The peer's 9-digit rockd ID (from `devices` / `status`), or IP:port to dial directly | |
| local_port | Yes |