optimize_mirrors
Manage Arch Linux mirrors by checking status, testing speeds, getting optimal suggestions, or performing full health checks to improve package download performance.
Instructions
[MIRRORS] Smart mirror management - consolidates 4 mirror operations. Actions: 'status' (list configured mirrors), 'test' (test mirror speeds), 'suggest' (get optimal mirrors from archlinux.org), 'health' (full health check). Examples: optimize_mirrors(action='status', auto_test=True) lists and tests all mirrors; optimize_mirrors(action='suggest', country='US', limit=5) suggests top 5 US mirrors; optimize_mirrors(action='health') checks for issues and gives recommendations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Operation to perform: 'status' (list mirrors), 'test' (test speeds), 'suggest' (get recommendations), 'health' (full check) | |
| country | No | Optional country code for suggestions (e.g., 'US', 'DE') - action='suggest' only | |
| mirror_url | No | Specific mirror URL to test - action='test' only | |
| limit | No | Number of mirrors for suggestions (default 10) | |
| auto_test | No | If true, test mirrors after listing - action='status' only |