bgi_set_config
Safely edit BetterGI's config.json with automatic backup and verification, requiring BetterGI closed; dry_run previews changes without writing.
Instructions
安全修改 User\config.json(父.子=值)。要求 BetterGI 已退出;会自动备份并回读校验。dry_run=true 只预览。
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": {
"changes": "<changes>"
},
"name": "bgi_set_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | 形如 [{path:"autoDomainConfig.condensedResinUseCount", value:"5"}] | |
| dry_run | No | 只预览不写入(默认 false) |