Format an install command for a registry package
format_install_commandReturns the runnable install or launch command for a given registry type and package identifier, with no network calls.
Instructions
Offline helper: given a package registryType (npm, pypi, oci, nuget, cargo, mcpb) and identifier, return the runnable install/launch command. Does not contact the network.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | Optional specific version. | |
| identifier | Yes | Package identifier, e.g. '@modelcontextprotocol/server-filesystem'. | |
| runtimeHint | No | Optional runtime hint (e.g. 'pip' to prefer pip over uvx for pypi). | |
| registryType | Yes |