Get Stream
get_streamFetch a single TCP/UDP stream by ID to view its forwarding ports, protocol settings, and status. Read-only; use list_streams to find IDs.
Instructions
Fetch one TCP/UDP stream by ID, including its forwarding ports and protocol settings. Use this for one stream; use list_streams to find IDs or inspect all streams. This is read-only and does not change NPM. Returns the stream object with incoming port, destination, protocol flags, and status.
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": "get_stream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the stream, from the matching list tool. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||