install_sandbox_package
Install a Wasmer registry package into an isolated sandbox and receive the exact commands it provides, letting you add missing tools beyond the default Python environment.
Instructions
Install a Wasmer registry package into the sandbox and report the commands it adds.
Use it to get a tool the sandbox does not already have — the guest starts with only
Python. package is a registry name like wasmer/edgejs or wasmer/edgejs@0.2.0.
The returned commands are exactly the names run_command can then call. The install
persists for the life of the sandbox, so it survives later calls until reset_sandbox.
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": "install_sandbox_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | ||
| package | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||