The codebase_search tool is not working in custom mode

Describe the Bug

The codebase_search tool is not available in custom mode. Even if it is enabled, the model does not see it and cannot access it. However, in Agent mode, this tool works perfectly. I have tried enabling all available tools and selecting it separately, but the model still does not see it and cannot access it.

Steps to Reproduce

In a custom mode, select the Codebase tool. If you ask the model to use the tool, it will not be able to. You can ask what tools the model has, and it will not list codebase. However, if you enable other tools, the model lists them and can use them.

Expected Behavior

The codebase_search tool is avaliable and usable.

Screenshots / Screen Recordings

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.4
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T16:59:43.242Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Linux x64 5.15.0-136-generic

Does this stop you from using Cursor

No - Cursor works, but with this issue