`SwitchMode` is only accepting `plan` mode

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

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.

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