forward_open
Open a local port-forward tunnel to a remote port on a place. Automatically assigns a free local port and returns tunnel details, supporting multiple tunnels per place.
Instructions
Open a local port-forward tunnel to remote_port on a place.
``local_port=0`` (default) auto-assigns a free local port. Returns
``{"forward", "place", "local_port", "remote_port"}``. Multiple
tunnels per place are allowed (forwards.py, §11.13). The ownership
check runs first, before any registry call.
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": {
"place": "<place>",
"remote_port": "<remote_port>"
},
"name": "forward_open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| place | Yes | ||
| local_port | No | ||
| remote_port | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||