Execute Cli
execute_cliRuns a single display or query CLI command on a Huawei eNSP device by IP to inspect network status and troubleshoot configurations.
Instructions
Execute a single display/query command on a device.
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": {
"device_ip": "<device_ip>",
"command": "<command>"
},
"name": "execute_cli"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | CLI command | |
| device_ip | Yes | Device name or IP |