Tool calling stuck in both the IDE and cursor-agent

Where does the bug appear (feature/product)?

Somewhere else…

Describe the Bug

Hi, my cursor is stuck on the tool calling, even with echo or ls. It occurs beginning today, and I did’t do anything related, but installed opencode. To be honest, I am not sure it is related; the ps ax only shows cursor processes and no opencode processes.

Steps to Reproduce

In cursor-agent, invoke ! ls, it will hang there.
In the cursor IDE, any prompts invoking tools will hang.

Expected Behavior

The tool calling should not hang.

Screenshots / Screen Recordings

retried several times and it barely work.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.3.41 (Universal)
VSCode Version: 1.105.1
Commit: 2ca326e0d1ce10956aea33d54c0e2d8c13c58a30
Date: 2026-01-16T19:14:00.150Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.0.0

For AI issues: which model did you use?

gemini-pro-3

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. This is a known issue with the CLI where commands get stuck on “Running…”. The team is aware and is working on a fix.

A couple questions to help diagnose:

  1. Which shell are you using: echo $SHELL
  2. Are you running it inside a git repo directory? (I see “cwd is not a git repository” in the screenshot)
  3. Try reinstalling the CLI: curl https://cursor.com/install -fsS | bash

If it still doesn’t work after reinstalling, please share the output of those commands and I’ll pass it to the engineers.

  1. /opt/homebrew/bin/fish
  2. The issue occurs in both git repo and non-git repo
  3. This doesn’t work. I also tried reinstall the cursor IDE, not work.

One WAR seems work, when it is stuck, pkill -f cursor-shell and then the tools won’t hang.

Got it. For cursor-agent, for now we only have your workaround with pkill -f cursor-shell.

I’ll pass it to the engineers: cursor-agent + fish shell + macOS. Bug is in the backlog.

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