remove_port_forward
Stop publishing a sandbox port. Existing connections through it drop, and the public port is released for reuse. The sandbox and the service inside it are untouched.
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": {
"sandbox_id": "<sandbox_id>",
"port": "<port>"
},
"name": "remove_port_forward"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | the sandbox port to stop publishing | |
| sandbox_id | Yes | sandbox id, e.g. sb_ab12cd |