toggle_confirm_mode
Control update confirmation: require user approval before saving (always_confirm) or apply changes immediately (auto_apply).
Instructions
Toggle update confirmation mode. Controls whether update tools ask for user confirmation before saving.
"always_confirm" (default): Shows diff first, requires user approval before saving. Safer.
"auto_apply": Applies changes immediately without preview. Faster but riskier. Current mode is saved to database and persists across sessions.
Call this tool when the user says things like: → "tự động xác nhận" / "auto confirm" / "không cần hỏi" / "don't ask" / "apply directly" → mode: "auto_apply" → "hỏi trước khi lưu" / "luôn hỏi" / "always ask" / "confirm before saving" / "xác nhận trước" → mode: "always_confirm"
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": {
"mode": "<mode>"
},
"name": "toggle_confirm_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Set to "always_confirm" (safe) or "auto_apply" (fast). Map user intent: "tự động"/"auto"/"không cần hỏi" → auto_apply, "hỏi lại"/"confirm"/"luôn hỏi" → always_confirm |