39 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
…deny | Interactive applications with a custom approval callback | | `"acceptEdits"` | Auto-approves file edits and common filesystem commands (`mkdir`, `touch`, `mv`, `cp`, etc.); other Bash commands…
Configure your agent
Claude Code CLI · in the page
agent-sdk/configuration
…ion.setModel("claude-opus-5"); await session.setPermissionMode("acceptEdits"); startSecondTurn(); } else { console.log(`Second turn model: ${turnModel}`); break; } }…
Rewind file changes with checkpointing
Claude Code CLI · in the page
agent-sdk/file-checkpointing
…ons( 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
…ermission-modes.md#critical-paths), which fall through instead. * In `acceptEdits` mode, Claude Code approves the file operations listed under [Accept edits mode](#accept-edits-mode-acceptedits). * In…
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
…t", "Glob"], # Auto-approve these tools permission_mode="acceptEdits", # Auto-approve file edits ), ): # Print human-readable output if isinstance(message, As…
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
…ions.md#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
…(/docs/en/permissions.md) the session was in, so one you switched to `acceptEdits` or `auto` stays there after detaching * **Dispatched from `claude agents` started in a shell, or with `claude --bg`**…
Share session output as artifacts
Claude Code CLI · in the page
artifacts
…'t skip this prompt | | In [Manual](/docs/en/permission-modes.md) or `acceptEdits` mode, Claude makes a small change to an artifact's file it can't edit without your approval, such as a project file i…
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
…uto](/docs/en/permission-modes.md#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
…a diff and can accept or reject each change. | | **Accept edits** | `acceptEdits` | Claude auto-accepts file edits and common filesystem commands like `mkdir`, `touch`, and `mv`, but still asks befor…
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
…on-modes.md) with `--permission-mode`, such as `auto`, `dontAsk`, or `acceptEdits`: * **`auto`**: pass `--permission-mode auto` to have a classifier review most actions instead of you * **`dontAsk`**…
Hooks reference
Claude Code CLI · in the page
hooks
…](/docs/en/permissions.md#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] > > `bypass…
Interactive mode
Claude Code CLI · in the page
interactive-mode
…es | 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.md#permission-modes). In the terminal, the p…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…ive when this call's permission check began: `"default"`, `"plan"`, `"acceptEdits"`, `"bypassPermissions"`, `"dontAsk"`, or `"auto"`. Manual mode appears as `"default"`. A [subagent](/docs/en/sub-agen…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…| Reads only | Reviewing every action yourself, sensitive work | | [`acceptEdits`](#auto-approve-file-edits-with-acceptedits-mode) | Reads, file edits, and common filesystem commands (`mkdir`, `touch…
Configure permissions
Claude Code CLI · in the page
permissions
…nd the desktop app, and Claude Code accepts `manual` as an alias | | `acceptEdits` | Automatically accepts file edits and common filesystem commands such as `mkdir`, `touch`, `mv`, and `cp` for paths…
Create a mod
Claude Code CLI · in the page
plugins/mods/create
…-9c21-6d0f4b8a7e13/git-branch/`. > [!NOTE] > > In the `default` and `acceptEdits` [permission modes](/docs/en/permission-modes.md), Claude Code asks you to approve each of the mod's files before Clau…
Continue local sessions from any device with Remote Control
Claude Code CLI · in the page
remote-control
…de](/docs/en/permission-modes.md) for the server's sessions, such as `acceptEdits`. Accepts `manual` as an alias for `default`; an unrecognized mode stops the server at startup and lists the valid mod…
Configure the sandboxed Bash tool
Claude Code CLI · in the page
sandboxing
…issions` mode**: the retry runs without a prompt * **Manual mode and `acceptEdits` mode**: you get a prompt titled "Bash command (unsandboxed)" * **[Auto mode](/docs/en/permission-modes.md#eliminate-p…
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…
All settings
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
…missionMode` | No | [Permission mode](#permission-modes): `default`, `acceptEdits`, `auto`, `dontAsk`, `bypassPermissions`, `plan`, or `manual` as an alias for `default`. Ignored for [plugin subagents…
Tools reference
Claude Code CLI · in the page
tools-reference
…ff; a fetch that still fails returns an error result. In Manual and `acceptEdits` [permission modes](/docs/en/permission-modes.md), WebFetch prompts before fetching, except for domains your [permissi…
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. Releas…
Week 35 · August 24–28, 2026
Claude Code CLI · in the page
whats-new/2026-w35
…en auto mode is available, Bash permission prompts in the Manual and `acceptEdits` permission modes offer a [**Yes, and switch to auto mode**](/docs/en/permission-modes.md#switch-permission-modes) opt…
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…