Search the documentation
34 pages for acceptedits.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
How the agent loop works
Claude Code CLI · in the page
agent-sdk/agent-loop
…| | `"acceptEdits"` | Auto-approves file edits and common filesystem commands (`mkdir`, `touch`, `mv`, `cp`, etc.); other Bash com…
Rewind file changes with checkpointing
Claude Code CLI · in the page
agent-sdk/file-checkpointing
…enable_file_checkpointing=True, permission_mode="acceptEdits", # Auto-accept file edits without prompting extra_args={ "replay-user-messages": None…
Connect to external tools with MCP
Claude Code CLI · in the page
agent-sdk/mcp
…lowedTools` over permission modes for MCP access.** `permissionMode: "acceptEdits"` does not auto-approve MCP tools (only file edits and filesystem Bash commands). `permissionMode: "bypassPermissions"…
Migrate to Claude Agent SDK
Claude Code CLI · in the page
agent-sdk/migration-guide
…options = ClaudeCodeOptions(model="claude-opus-4-7", permission_mode="acceptEdits") # AFTER (claude-agent-sdk) from claude_agent_sdk import query, ClaudeAgentOptions options = ClaudeAgentOptions(mod…
Configure permissions
Claude Code CLI · in the page
agent-sdk/permissions
…ocs/en/permission-modes#critical-paths), which fall through instead. `acceptEdits` approves the file operations listed under [Accept edits mode](#accept-edits-mode-acceptedits). `plan` routes file-edi…
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…prompt="You are an expert Python developer", permission_mode="acceptEdits", ) async for message in query(prompt="Create a Python web server", options=options): print(message)…
Quickstart
Claude Code CLI · in the page
agent-sdk/quickstart
…, "Glob"], # Auto-approve these tools permission_mode="acceptEdits", # Auto-approve file edits ), ): # Print human-readable output if isinstance(mes…
Track todos
Claude Code CLI · in the page
agent-sdk/todo-tracking
…to do real work on a project, so each example sets `permissionMode: "acceptEdits"` (TypeScript) or `permission_mode="acceptEdits"` (Python) to auto-approve the file edits that work produces. See [Per…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…e PermissionMode = | "default" // Standard permission behavior | "acceptEdits" // Auto-accept file edits | "bypassPermissions" // Bypass permission checks; explicit ask rules still prompt | "p…
Handle approvals and user input
Claude Code CLI · in the page
agent-sdk/user-input
…issions#how-permissions-are-evaluated), an allow rule or a mode like `acceptEdits` or `bypassPermissions`, resolves the call before `canUseTool` is consulted. If you list a tool bare in `allowed_tools…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…keeps the permission mode the session was in, so one you switched to `acceptEdits` or `auto` stays there after detaching * **Dispatched from an agent view you opened with `←`**: the new session starts…
Claude Code changelog
Claude Code CLI · in the page
changelog
…it/`, which could otherwise lead to unintended command execution * `acceptEdits` mode now prompts before writing build-tool config files that grant code execution (`.npmrc`, `.yarnrc*`, `bunfig.toml…
CLI reference
Claude Code CLI · in the page
cli-reference
…ied [permission mode](/docs/en/permission-modes). Accepts `default`, `acceptEdits`, `plan`, `auto`, `dontAsk`, `bypassPermissions`, or `manual` as an alias for `default`. The `manual` alias selects th…
Communications kit
Claude Code CLI · in the page
communications-kit
…ault` setting value) asks before file edits and most shell commands, *acceptEdits* lets file edits and common filesystem commands flow through while still checking before other shell commands, and *pl…
Message your other Claude Code sessions
Claude Code CLI · in the page
cross-session-messaging
…[auto](/docs/en/permission-modes#eliminate-prompts-with-auto-mode), `acceptEdits`, and `dontAsk` count as prompting: * **The receiving session prompts for permissions**: Claude Code delivers each me…
Desktop application
Claude Code CLI · in the page
desktop
…| | **Accept edits** | `acceptEdits` | Claude auto-accepts file edits and common filesystem commands like `mkdir`, `touch`, and `mv`, but still asks…
Claude Code GitLab CI/CD
Claude Code CLI · in the page
gitlab-ci-cd
…his MR and implement the requested changes'}" --permission-mode acceptEdits --allowedTools "Bash Read Edit Write mcp__gitlab" --debug ``` After adding the job and your `ANTHROPIC_AP…
Glossary
Claude Code CLI · in the page
glossary
…r in VS Code, Desktop, and claude.ai. Available modes are `default`, `acceptEdits`, `plan`, `auto`, `dontAsk`, and `bypassPermissions`. The `default` mode is labeled Manual in the CLI, in the VS Code…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…-for-a-specific-tool) are denied even when an allow rule matches * **`acceptEdits`**: Claude writes files without prompting, and Claude Code auto-approves common filesystem commands such as `mkdir`, `…
Hooks reference
Claude Code CLI · in the page
hooks
…ode](/docs/en/permissions#permission-modes): `"default"`, `"plan"`, `"acceptEdits"`, `"auto"`, `"dontAsk"`, or `"bypassPermissions"`. The mode labeled **Manual** arrives as `"default"`, never as `"man…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…Mode` entry. The `mode` value is any permission mode like `default`, `acceptEdits`, or `bypassPermissions`, and `destination: "session"` applies it for the current session only. <Note> `bypassPermi…
Interactive mode
Claude Code CLI · in the page
interactive-mode
…| Cycle through `default` (labeled Manual in the mode indicator), `acceptEdits`, `plan`, and, when available, `bypassPermissions` and then `auto`. From `auto`, the first press switches to `default`…
JetBrains IDEs
Claude Code CLI · in the page
jetbrains
…ecurity considerations When Claude Code runs in a JetBrains IDE in [`acceptEdits` permission mode](/docs/en/permission-modes#auto-approve-file-edits-with-acceptedits-mode), it may be able to modify I…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…ization requires approval for this tool`. The prompt appears even in `acceptEdits`, `auto`, and `bypassPermissions` [permission modes](/docs/en/permissions#permission-modes), and never offers an optio…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…`: The previous permission mode, for example `"default"`, `"plan"`, `"acceptEdits"`, `"auto"`, or `"bypassPermissions"` * `to_mode`: The new permission mode * `trigger`: What caused the change. One of…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…| Reviewing every action yourself, sensitive work | | [`acceptEdits`](#auto-approve-file-edits-with-acceptedits-mode) | Reads, file edits, and common filesystem commands (`mkdir`, `t…
Configure permissions
Claude Code CLI · in the page
permissions
…| | `acceptEdits` | Automatically accepts file edits and common filesystem commands such as `mkdir`, `touch`, `mv`, and `cp` for…
Claude Code settings
Claude Code CLI · in the page
settings
…/permission-modes#switch-permission-modes). Valid values: `default`, `acceptEdits`, `plan`, `auto`, `dontAsk`, `bypassPermissions`, and `manual` as an alias for `default`, the mode labeled Manual in t…
Claude Code settings reference
Claude Code CLI · in the page
settings-reference
…ts before `git push`, blocks reads of `.env`, and starts sessions in `acceptEdits`: ```json settings.json theme={null} { "permissions": { "allow": ["Bash(npm run *)"], "ask": ["Bash(git pus…
Create custom subagents
Claude Code CLI · in the page
sub-agents
…Mode` | No | [Permission mode](#permission-modes): `default`, `acceptEdits`, `auto`, `dontAsk`, `bypassPermissions`, `plan`, or `manual` as an alias for `default`. The `manual` alias requires C…
Tools reference
Claude Code CLI · in the page
tools-reference
…each Claude as if it were the extracted page content. In Manual and `acceptEdits` [permission modes](/docs/en/permission-modes), WebFetch prompts before fetching, except for domains your [permission…
Use Claude Code in VS Code
Claude Code CLI · in the page
vs-code
…Controls approval prompts for new conversations: `default`, `plan`, `acceptEdits`, or `bypassPermissions`. `manual` is an alias for `default` and selects the mode labeled **Manual** in the mode indic…
Week 23 · June 1–5, 2026
Claude Code CLI · in the page
whats-new/2026-w23
…d Microsoft Foundry, prompt before writing files that can run code in acceptEdits mode, list installed plugins with /plugin list, and require an approved version range for managed deployments. <div c…
What's new
Claude Code CLI · in the page
whats-new/index
…r automatic edits** prompt before writing files that can run code in `acceptEdits` mode; **`/plugin list`** prints your installed plugins inline; and **version requirements** let managed deployments r…