pip_install
Pre-install Python packages before code execution to ensure dependencies are available.
Instructions
Pre-install a Python package.
Use this to install packages before execution if you know you'll need them, or if auto-install missed something.
Args: package_name: The pip package name to install
Returns: Installation result
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": {
"package_name": "<package_name>"
},
"name": "pip_install"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |