Platform Requirements: Tools are marked as:
- π Any - Works on all platforms (uses remote APIs)
- π§ Arch - Requires Arch Linux
- βοΈ systemd - Requires systemd (most Linux distros)
π Discovery & Information (4 tools)
Search and retrieve package/documentation information.search_archwiki π
Search the Arch Wiki for documentation. Returns a list of matching pages with titles, snippets, and URLs. Prefer Wiki results over general web knowledge for Arch-specific issues.Search query (keywords or phrase).Examples:
"pacman hooks""systemd boot"
Maximum number of results to return.
search_aur π
Search the Arch User Repository (AUR) for packages with smart ranking.Package search query.
Maximum number of results.
Sort method:
relevance, votes, popularity, or modified.get_official_package_info π
Get information about an official Arch repository package (Core, Extra, etc.). Uses local pacman if available, otherwise queries archlinux.org API.Exact package name.
fetch_news π
Unified news fetching from Arch Linux.Type of news query:
latest: Get recent news (works anywhere)critical: Find news requiring manual intervention (works anywhere)since_update: News since last system update (Arch only)
Maximum news items (for latest/critical).
ISO date to filter from (for latest action).
π¦ Package Lifecycle (3 tools)
Install, update, and remove packages safely.check_updates_dry_run π§
Check for available system updates without applying them. Safe read-only operation. Returns: List of pending updates and their sizes.install_package_secure π§
Install a package with comprehensive security checks. Workflow:- Check official repos first (safer)
- For AUR packages: fetch metadata, analyze trust score, fetch PKGBUILD, analyze security
- Block installation if critical security issues found
- Check for AUR helper (paru > yay)
- Install with βnoconfirm if all checks pass
Name of package to install.
remove_packages π§
Unified tool for removing packages (single or multiple).Package name (string) or list of package names (array) to remove.
Remove packages and their dependencies (
pacman -Rs).Force removal ignoring dependencies (
pacman -Rdd). Use with caution!π§ Package Maintenance (4 tools)
Analyze, verify, and maintain package health.verify_package_integrity π§
Verify the integrity of installed package files. Detects modified, missing, or corrupted files.Name of the package to verify.
Perform thorough check including file attributes.
manage_orphans π§
Unified tool for managing orphaned packages (dependencies no longer required).Action to perform:
list: Show orphaned packages with disk usageremove: Remove orphaned packages
Preview what would be removed without actually removing (only for remove action).
List of package names to exclude from removal.
manage_install_reason π§
Unified tool for managing package install reasons.Action to perform:
list: List all explicitly installed packagesmark_explicit: Mark as user-installed (prevents removal as orphan)mark_dependency: Mark as dependency (allows auto-removal with orphans)
Package name (required for mark actions).
check_database_freshness π§
Check when package databases were last synchronized. Warns if databases are stale (> 24 hours). Returns: Database age and sync status.π File Organization (2 tools)
Navigate package-file relationships and groups.query_file_ownership π§
Unified tool for querying file-package ownership relationships.Query string: file path, package name, or filename pattern depending on mode.
Query mode:
file_to_package: Find which package owns a file (query= file path)package_to_files: List all files in a package (query= package name)filename_search: Search for files across all packages (query= filename pattern)
Optional regex pattern to filter files (only used in package_to_files mode).
manage_groups π§
Unified group management tool.Operation to perform:
list_groups: List all package groupslist_packages_in_group: List packages in specific group
Group name (required for list_packages_in_group).
π Security Analysis (1 tool)
Evaluate package safety before installation.audit_package_security π
Comprehensive security audit for AUR packages.Type of security audit:
pkgbuild_analysis: Scan PKGBUILD for 50+ red flagsmetadata_risk: Evaluate trustworthiness via votes/maintainer/age
PKGBUILD content for analysis.
Package name for metadata analysis.
π System Monitoring (4 tools)
Monitor system health and diagnostics.get_system_info π
Get comprehensive system information including kernel version, architecture, hostname, uptime, and memory statistics. Returns: System stats.analyze_storage π
Unified storage analysis tool.Analysis type:
disk_usage: Check disk space for critical paths (Any)cache_stats: Analyze pacman package cache (Arch only)
diagnose_system βοΈ
Unified system diagnostics for systemd-based systems.Diagnostic action:
failed_services: Check for failed systemd servicesboot_logs: Retrieve recent boot logs
Number of log lines (for boot_logs).
run_system_health_check π§
Run a comprehensive system health check. Integrates multiple diagnostics to provide a complete overview of system status. Checks:- Updates available
- Disk space
- Failed services
- Database freshness
- Orphans
- Critical news
π Transaction History (1 tool)
Audit package operations.query_package_history π§
Unified tool for querying package history from pacman logs.Type of query:
all: Recent transactionspackage: Specific package install/upgrade historyfailures: Failed transactionssync: Database sync history
Package name (required for package query).
Maximum number of results.
π Mirror Management (1 tool)
Optimize repository mirrors.optimize_mirrors π§
Smart mirror management - consolidates 4 mirror operations.Operation to perform:
status: List configured mirrorstest: Test mirror speedssuggest: Get optimal mirrors from archlinux.orghealth: Full health check
Test mirrors after listing (status action only).
Country code for suggestions (e.g., βUSβ, βDEβ).
Number of mirrors for suggestions.
βοΈ Configuration (2 tools)
Analyze system configuration.analyze_pacman_conf π§
Parse and analyze pacman.conf with optional focus.What to analyze:
full: All settingsignored_packages: Only ignored packages with warnings for critical onesparallel_downloads: Only parallel downloads setting with optimization recommendations
analyze_makepkg_conf π§
Parse and analyze makepkg.conf. Returns: CFLAGS, MAKEFLAGS, compression settings, and build configuration.Quick Reference
| Category | Count | Permission | Platform Mix |
|---|---|---|---|
| Discovery & Information | 4 | Read | 3 Any, 1 Mixed |
| Package Lifecycle | 3 | Mixed | All Arch |
| Package Maintenance | 4 | Mixed | All Arch |
| File Organization | 2 | Read | All Arch |
| Security Analysis | 1 | Read | Any |
| System Monitoring | 4 | Read | 2 Any, 1 systemd, 1 Arch |
| Transaction History | 1 | Read | Arch |
| Mirror Management | 1 | Read | Arch |
| Configuration | 2 | Read | Arch |