List sandbox modules
mp_sandbox_modulesLists all module paths registered in a WeChat Mini Program bundle to locate SDK signature modules; run mp_analyze first and pass bundle_paths to coordinate main and subpackage bundles.
Instructions
列出小程序 bundle 中注册的所有模块路径。用于发现 SDK 签名模块位置。需要先 mp_analyze 解包。分包签名 SDK 依赖主包 runtime 时用 bundle_paths 传[主包,分包]协同加载。
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": {
"appid": "<appid>"
},
"name": "mp_sandbox_modules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appid | Yes | 小程序 appid | |
| bundle_path | No | 自定义 app-service.js 路径 (默认按 appid 自动查找) | |
| bundle_paths | No | 多 bundle 协同加载[主包,分包,...] |