optimize_connections
Adjust download connection count, load balancing, and bandwidth targets for a task to improve transfer throughput and resource use.
Instructions
优化下载连接数和配置,提供智能连接管理
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": {
"taskId": "<taskId>",
"fileSize": "<fileSize>"
},
"name": "optimize_connections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | 任务ID | |
| fileSize | Yes | 文件大小(字节) | |
| maxConnections | No | 最大连接数 | |
| currentConnections | No | 当前连接数 | |
| enableLoadBalancing | No | 启用负载均衡 | |
| enableBandwidthControl | No | 启用带宽控制 | |
| targetBandwidthUtilization | No | 目标带宽利用率(0.1-1.0) |