下载并校验更新包
jasp_download_updateDownloads the JASP Bridge update package from the update manifest, verifies SHA256, extracts it to a versioned folder, and returns the update.ps1 install command without replacing running files.
Instructions
按 latest.json 下载更新 zip,校验 SHA256,解压到 updates//,返回 update.ps1 安装命令。不会自动替换正在运行的文件。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "jasp_download_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | latest.json 地址;不传则读 JASP_BRIDGE_UPDATE_URL | |
| timeout_ms | No | 下载超时毫秒,默认 180000 | |
| install_dir | No | 插件安装目录,默认 JASP_BRIDGE_HOME |