ghostlan_netem_set
Apply live tc netem packet loss, delay, jitter, corruption, duplication, or bandwidth caps to a virtual PC in a virtual LAN to test apps under degraded network conditions.
Instructions
Apply live tc netem packet loss, delay, jitter, corruption, duplication, or bandwidth cap to a ghost
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": {
"lan": "<lan>",
"ghost": "<ghost>"
},
"name": "ghostlan_netem_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lan | Yes | Name of the virtual LAN | |
| ghost | Yes | Ghost name inside the LAN | |
| delay_ms | No | Added latency in ms | |
| loss_pct | No | Packet loss percentage (0-100) | |
| jitter_ms | No | Latency jitter in ms | |
| rate_kbps | No | Bandwidth cap in kbps (0 = unlimited) | |
| corrupt_pct | No | Packet corruption percentage (0-100) | |
| duplicate_pct | No | Packet duplication percentage (0-100) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes |