# \`SwitchMode\` is only accepting \`plan\` mode

**URL:** <https://forum.cursor.com/t/switchmode-is-only-accepting-plan-mode/154442>\
**Category:** Bug Reports\
**Tags:** debug-mode, plan-mode\
**Created:** [March 11, 2026, 3:53pm UTC](https://forum.cursor.com/t/switchmode-is-only-accepting-plan-mode/154442 "2026-03-11T15:53:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam01](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@Sam01](https://forum.cursor.com/u/Sam01)\
**Post date:** [March 11, 2026, 3:53pm UTC](https://forum.cursor.com/t/switchmode-is-only-accepting-plan-mode/154442/1 "2026-03-11T15:53:56Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

When I tried to tell agent to switch to debug mode using the `SwitchMode` tool, it told me only `plan` mode as `enum` is accepted.  
The tool `SwitchMode` is gone for all modes other than `Agent` mode (`Plan`, `Debug`, `Ask`)

### Steps to Reproduce

Prompt “What is the mode available to switch in `SwitchMode` tool?”

Agent:

> From `cursor_ability.md`, the **SwitchMode** tool is documented as follows.
> 
> **Parameter**
> 
> | Parameter | Type | Required | Description |
> | --- | --- | --- | --- |
> | `target_mode_id` | `string` | **Yes** | Target mode. **Allowed value: `plan`** |
> | `explanation` | `string` | No | Why you are switching mode |
> 
> **Modes**
> 
> | Mode | Can switch to? | Description |
> | --- | --- | --- |
> | **Agent** | No (cannot switch to) | Default mode; full tool access |
> | **Plan** | **Yes** | Read-only; used to design the approach before coding |
> | **Debug** | No (cannot switch to) | For systematic debugging and bug investigation |
> | **Ask** | No (cannot switch to) | Read-only; for exploring code and answering questions |
> 
> So the only mode you can switch **to** with the SwitchMode tool is **`plan`**. The tool’s allowed value for `target_mode_id` is \> **`plan`** ; Agent, Debug, and Ask are not valid switch targets via this tool.

### Expected Behavior

`SwitchMode` can switch between modes

### Operating System

Windows 10/11  
MacOS  
Linux

### Version Information

Version: 2.6.18  
VSCode Version: 1.105.1  
Commit: 68fbec5aed9da587d1c6a64172792f505bafa250  
Date: 2026-03-10T02:01:17.430Z  
Build Type: Stable  
Release Track: Default  
Electron: 39.6.0  
Chromium: 142.0.7444.265  
Node.js: 22.22.0  
V8: 14.2.231.22-electron.0  
OS: Darwin arm64 25.3.0

### Does this stop you from using Cursor

No - Cursor works, but with this issue

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [March 11, 2026, 5:14pm UTC](https://forum.cursor.com/t/switchmode-is-only-accepting-plan-mode/154442/4 "2026-03-11T17:14:58Z")

</div>

Hey, thanks for the report.

This is the expected behavior right now. At the moment, `SwitchMode` only supports switching from Agent to Plan. Switching to Debug, Ask, and back to Agent isn’t implemented yet.

The team is aware of this limitation and is considering expanding SwitchMode to support other modes. For now, you can switch modes manually using the dropdown in chat.

Your report helps us prioritize. Let me know if you have any other questions.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [April 2, 2026, 5:15pm UTC](https://forum.cursor.com/t/switchmode-is-only-accepting-plan-mode/154442/5 "2026-04-02T17:15:37Z")

</div>

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
