---
title: "Sandbox agent terminal commands"
url: "https://xlrocket.men/sandbox-agent-terminal-commands"
markdown_url: "https://xlrocket.men/sandbox-agent-terminal-commands.md"
format: "link"
published: "2026-09-27T12:19:10.000Z"
link_url: "https://code.visualstudio.com/docs/agents/run/agent-sandboxing"
site: "火箭君 MEN"
---

# [Sandbox agent terminal commands](https://code.visualstudio.com/docs/agents/run/agent-sandboxing)

译：VS Code Agent sandboxing

- sandboxEnabled 管 MCP 路径与域名
- chat.agent.sandbox.enabled 管终端
- 审批+OS 隔离一起开
