List Streams
list_streamsList configured TCP/UDP streams and their status to find stream IDs before fetching, changing, enabling, disabling, or deleting port forwards. Filter by enabled; read-only.
Instructions
List configured TCP/UDP streams and their current status. Use this to find stream IDs before fetching, changing, enabling, disabling, or deleting a port forward. This is read-only and does not change NPM. Filter status with enabled. Set compact=True to return only summary fields. Returns stream objects with IDs, incoming and forwarding ports, protocols, and status.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_streams"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compact | No | Return only summary fields when True; defaults to full NPM objects. | |
| enabled | No | Keep items with this enabled status; omit for both enabled and disabled items. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |