Register Device
register_deviceRegister an eNSP simulated device by name and local TCP port so AI clients can connect to run Huawei CLI commands and diagnostics. Optional username/password supported.
Instructions
Register an eNSP device by name and TCP port.
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": {
"name": "<name>",
"port": "<port>"
},
"name": "register_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Device name, e.g. R1 | |
| port | Yes | Local TCP port, e.g. 2000 | |
| password | No | Optional password | |
| username | No | Optional username |