lpm_browse_source
Browse LPM package source code remotely to evaluate or check capabilities without installing it.
Instructions
LAST RESORT: Browse source code of an LPM package remotely. Only use this when you cannot install the package (e.g., evaluating before purchase, checking capabilities without access). If you can install the package, prefer lpm_add or lpm_install first, then read the local files directly — it is faster.
Requires authentication. Pool packages require Pool subscription, marketplace packages require a license.
If you must use this tool: fetch directory paths (e.g., "src") to get multiple files in one request rather than individual files.
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": {
"name": "<name>"
},
"name": "lpm_browse_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name in owner.package-name or @lpm.dev/owner.package-name format | |
| version | No | Specific version to browse (defaults to latest) | |
| path | No | File or directory path to browse (e.g., "src/index.js" or "src"). Omit to get file tree only. Pass empty string "" to get ALL source files at once. |