python_venv
Create, delete, or inspect Python virtual environments and list installed packages.
Instructions
Manage Python virtual environments (create, delete, info, list packages)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "python_venv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Additional arguments | |
| clear | No | Delete venv contents if it exists | |
| action | No | Virtual environment action (default: info) | |
| python | No | Python interpreter to use | |
| timeout | No | Command timeout in milliseconds | |
| venvPath | No | Path to virtual environment (default: .venv) | |
| directory | No | Working directory | |
| systemSitePackages | No | Give access to system site-packages |