colab_install_package
Install Python packages in a Google Colab or Jupyter runtime using pip. Specify package name and optional session ID to resolve missing dependencies for your code execution.
Instructions
Install a Python package (e.g. 'transformers', 'torch==2.3.0') inside the runtime via pip.
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": "<package>"
},
"name": "colab_install_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | ||
| session_id | No |