install_package
Install Python packages with pip, specifying versions or upgrades, and handle confirmation prompts when required for security.
Instructions
Install a Python package with pip.
Requires explicit confirmation when security.require_confirmation
is enabled in config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to True to confirm this operation when required. | |
| package | Yes | The package name (e.g. "requests", "fastmcp>=2.0"). | |
| upgrade | No | If True, upgrade the package if already installed. | |
| version | No | Optional version specifier (e.g. "==2.31.0", ">=1.0"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||