install_package
Install Python, Node.js, or Go packages with version pinning and detailed feedback across different package managers.
Instructions
Install packages using pip, npm, or Go modules with version control.
This tool provides a unified interface for package installation across
different programming environments. Supports version pinning and provides
detailed installation feedback with proper error handling.
Supported Package Managers:
- pip: Python package installer (PyPI packages)
- npm: Node.js package manager (npm registry)
- go: Go module system (Go packages)
Features:
- Version pinning support
- Installation progress tracking
- Dependency resolution
- Extended timeout for large packages
- Comprehensive error reporting
Args:
request: Package installation parameters including name, manager, and version
Returns:
ExecutionResponse: Installation results with output, any errors,
and installation success status
Examples:
- Install Python package: {"package": "requests", "package_manager": "pip"}
- Install with version: {"package": "lodash", "package_manager": "npm", "version": "4.17.21"}
- Install Go module: {"package": "github.com/gin-gonic/gin", "package_manager": "go"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |