{"version":"2.1.330","anchor":"bypass-permissions-answer-on-set-permission-mode","canonical_anchor":"bypass-permissions-answer-on-set-permission-mode","heading":"Permission mode requests can now answer the bypass-permissions question","tier":"internal","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/bypass-permissions-answer-on-set-permission-mode","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### Permission mode requests can now answer the bypass-permissions question\n\nA program hosting Claude Code can now answer the bypass-permissions question in a permission mode request, once or for later launches too\n\n**What**\n\nA program that runs Claude Code inside it, called a host, can send a `set_permission_mode` request to change the permission mode. That request now accepts an internal field, `answers_bypass_switch_back`, with one of two values:\n\n- `bypass_now`\n\n- `bypass_always`\n\nClaude Code accepts this field only from the process that owns its standard input, meaning the program that started it and feeds it input.\n\n**Why**\n\nBypass permissions mode lets Claude run tools without asking first. A host can now answer the question about switching to that mode on your behalf, and the `bypass_always` answer is saved for later launches.\n\n- Area: SDK\n- Names: `set_permission_mode`, `answers_bypass_switch_back`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}