Create Stream
create_streamForward raw TCP or UDP traffic from a public port to a destination host and port in Nginx Proxy Manager, with optional dry-run preview.
Instructions
Create a TCP/UDP port forward from an incoming port to a destination host and port. Use this for raw TCP or UDP forwarding; use proxy-host tools for HTTP/HTTPS domain routing. NPM stores the stream configuration and applies it through normal config handling. Returns the created stream object with its ID, ports, and protocol flags. Set dry_run=True to preview the exact request without changing NPM.
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": "create_stream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | When True, return the exact request preview without changing NPM. | |
| incoming_port | Yes | Public TCP/UDP port number accepted by this stream. | |
| tcp_forwarding | No | Whether this stream forwards TCP traffic. | |
| udp_forwarding | No | Whether this stream forwards UDP traffic. | |
| forwarding_host | Yes | Hostname or IP address receiving stream traffic. | |
| forwarding_port | Yes | Destination TCP/UDP port number. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||