connect_router
Sets up SSH access to an OpenWrt router, serving as the mandatory first step for executing router management operations.
Instructions
Connect to an OpenWrt router via SSH. Must be called before using any other tools.
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": {
"host": "<host>"
},
"name": "connect_router"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Router IP address or hostname | |
| port | No | SSH port (default: 22) | |
| password | No | SSH password | |
| username | No | SSH username (default: root) | root |
| privateKeyPath | No | Path to SSH private key file |