Verify PyPI Package Install and Import
test_python_package_runtimeTest a specific Python package/version on a supported Python/Linux target runtime using empirical execution. Returns scoped install evidence, usable-import evidence when requested, and a scoped result/receipt. Supported boundary: public PyPI on Linux x86_64 / CPython 3.13. This is not generic package advice, security verification, arbitrary Python execution, broad compatibility testing, feature behavior testing, or application integration testing.
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": {
"requirement": "<requirement>"
},
"name": "test_python_package_runtime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requirement | Yes | One public-PyPI distribution requirement, for example packaging==24.2; do not provide a URL, VCS reference, local path, or alternate index. | |
| import_targets | No | Optional Python import names to check after installation, for example ["packaging"]; omit when no explicit import check is needed. |