throttling
Simulate network conditions by applying preset bandwidth limits like 3G, 4G, or 5G to test application performance under different connection speeds.
Instructions
Set a network throttling preset in Charles.
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": {
"preset": "<preset>"
},
"name": "throttling"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset | Yes | 弱网预设名称。仅允许固定值:3G/4G/5G/fibre/100mbps/56k/256k/deactivate/off/on/start。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |