Create stream
npm_create_streamCreate a TCP or UDP stream that forwards traffic from an incoming port to a forwarding host and port, with optional SSL certificate.
Instructions
Create a TCP/UDP stream.
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": {
"incoming_port": "<incoming_port>",
"forwarding_host": "<forwarding_host>",
"forwarding_port": "<forwarding_port>"
},
"name": "npm_create_stream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | ||
| incoming_port | Yes | ||
| certificate_id | No | ||
| tcp_forwarding | No | ||
| udp_forwarding | No | ||
| forwarding_host | Yes | ||
| forwarding_port | Yes |