set_link_quality
Inject packet loss, delay, jitter, or bandwidth limits on a link to simulate network issues. Applies both directions; pass zero to clear.
Instructions
Inject impairment on a link: packet loss (percent), one-way delay (ms), jitter (ms), and/or bandwidth limit (kbit/s). Pass only the dimensions you want to set. Applied to both directions of the link. Only affects running nodes. Clear an impairment by passing 0 for that dimension.
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": {
"network_id": "<network_id>"
},
"name": "set_link_quality"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loss | No | ||
| delay | No | ||
| jitter | No | ||
| bandwidth | No | ||
| network_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |