ssh_list_forwards
List all active port forwards for an SSH session to monitor and manage port forwarding.
Instructions
List all active port forwards for an SSH session.
Args: session_id: The session ID returned by ssh_connect.
Returns: List of forward info dicts.
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": {
"session_id": "<session_id>"
},
"name": "ssh_list_forwards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |