{"version":"2.1.331","anchor":"sandbox-settings-change-refused-when-local-settings-are-not","canonical_anchor":"sandbox-settings-change-refused-when-local-settings-are-not","heading":"Sandbox settings requests take extra parameters and refuse when folder settings are not read","tier":"notice","area":"Sandbox","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/sandbox-settings-change-refused-when-local-settings-are-not","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Sandbox settings requests take extra parameters and refuse when folder settings are not read\n\n`get_sandbox_dialog` now carries optional parameters such as `lists`, and sandbox setting edits are refused with `local_settings_off` when folder settings aren't read\n\n**What**\n\nThe sandbox is the protected area that limits what commands Claude runs can reach. Programs that build on Claude Code through the SDK (the developer toolkit) can ask it for the sandbox settings dialog and change those settings. They do this with control requests, which are messages the host program sends to Claude Code. Two things changed:\n\n- `getSandboxDialog` now passes optional parameters along in the `get_sandbox_dialog` request, which before carried only its type. One of these is an optional `lists` field.\n\n- Editing sandbox settings is now refused with the code `local_settings_off` when the session does not read the folder's settings, for example in a folder you have not trusted. The message says: \"This session doesn't read this folder's settings, so the change wouldn't apply.\"\n\n**Why**\n\nBefore this, a change could be accepted into settings the session would never use. Now the host program and you get a clear refusal instead, and the host program can ask for more specific parts of the sandbox dialog.\n\n- Area: Sandbox\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}