pip
Install, uninstall, list, show, or check packages inside a virtual environment with restricted options and safety confirmation for uninstalls.
Instructions
Run a restricted pip action inside the active venv.
Parameters:
action: install | uninstall | list | show | check
packages: list of packages/specs (e.g. ["requests", "numpy==2.1.0"])
options: allowlisted pip options only (see server policy)
confirm: required for uninstall (safety)
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": {
"action": "<action>"
},
"name": "pip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| packages | No | ||
| options | No | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||