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_idstringYes Target mode. Allowed value: planexplanationstringNo 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 fortarget_mode_idis >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