ensp_ping
Runs ping -c count target on a specified eNSP session and parses the packet loss rate to verify connectivity and diagnose network faults.
Instructions
在指定会话上执行 ping -c {count} {target},解析丢包率。
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_or_name": "<session_id_or_name>",
"target": "<target>"
},
"name": "ensp_ping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| target | Yes | ||
| timeout | No | ||
| session_id_or_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||