Enable Stream
enable_streamEnable a disabled TCP/UDP stream by ID to resume NPM port forwarding. Use dry_run=True to preview without changes.
Instructions
Enable a disabled TCP/UDP stream by ID so NPM forwards its incoming port again. Use update_stream to change ports or protocol flags; list_streams shows current status. This changes the stream state in NPM. Returns the updated stream object. 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": {
"id": "<id>"
},
"name": "enable_stream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the stream, from the matching list tool. | |
| dry_run | No | When True, return the exact request preview without changing NPM. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||