bgi_install_js
Installs a complete JS script directory from the official repository into BetterGI's User\JsScript folder, including manifest.json, main.js, and resources. Use it to prepare automation scripts for execution or daily one-dragon groups.
Instructions
把官方仓库的一个 JS 脚本整目录安装到 User\JsScript<名字>\(含 manifest.json、main.js 与资源)。装完可用 bgi_run_js 建组执行,或用 bgi_add_group_to_onedragon 接进每日一条龙。
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": "bgi_install_js"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 仓库 js/ 下的目录名,例如 AutoCommission | |
| overwrite | No | 覆盖已存在文件(默认 false) |