Disable Stream
disable_streamDisable a TCP/UDP stream by ID to stop NPM forwarding while retaining its forwarding configuration; supports dry-run preview.
Instructions
Disable a TCP/UDP stream by ID while retaining its forwarding configuration. Use delete_stream to remove it; list_streams shows current status. NPM stops forwarding this stream while disabled. 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": "disable_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 | |||