ADMX Viewer
Microsoft.Policies.VSCodeInsiders• Both

ChatToolsAutoApprove

Global auto approve also known as "YOLO mode" disables manual approval completely for all tools in all workspaces, allowing the agent to act fully autonomously. This is extremely dangerous and is *never* recommended, even containerized environments like Codespaces and Dev Containers have user keys forwarded into the container that could be compromised. This feature disables critical security protections and makes it much easier for an attacker to compromise the machine. Note: This setting only controls tool approval and does not prevent the agent from asking questions. To automatically answer agent questions, use the `#chat.autoReply#` setting.

Policy Details

Policy Name
ChatToolsAutoApprove
Registry Key
Software\Policies\Microsoft\VSCodeInsiders
Supported On
Visual Studio Code - Insiders >= 1.99
Available Languages
en-us

Configuration Elements

ChatToolsAutoApprove

Type: boolean

True:1
False:0