Mip Install
mip_installInstall MicroPython packages from micropython-lib or a URL onto a device, with optional version, target directory, and precompiled .mpy download.
Instructions
Install a MicroPython package from micropython-lib or URL.
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": "mip_install"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mpy | No | Download pre-compiled .mpy files (default True). | |
| target | No | Target directory on device (default "/lib"). | /lib |
| package | Yes | Package name, or github:org/repo, or URL to package.json. | |
| version | No | Package version (empty string for latest). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |