# Terminal tool calls run with typos

**URL:** <https://forum.cursor.com/t/terminal-tool-calls-run-with-typos/85887>\
**Category:** Bug Reports\
**Created:** [May 2, 2025, 4:28pm UTC](https://forum.cursor.com/t/terminal-tool-calls-run-with-typos/85887 "2025-05-02T16:28:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pixelmixer](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/pixelmixer/32/51453_2.png) [@pixelmixer](https://forum.cursor.com/u/pixelmixer)\
**Post date:** [May 2, 2025, 4:28pm UTC](https://forum.cursor.com/t/terminal-tool-calls-run-with-typos/85887/1 "2025-05-02T16:28:48Z")

</div>

I’m working with Cursor on Windows and I’ve been having a repeated issue with terminal commands not running properly.

This seems to happen most often for me with docker commands. The preview in the terminal command area appears correct, but when the tool is actually called, it is missing the leading character. It does this to me probably 40% of the time, resulting in a lot more tool calls than should be necessary.

For example, if the agent determines that it should run a command like `docker compose up`, it will display that as the command to be run, but when it actually runs the command it will run `ocker compose up`, with the `d` missing.

I’m using the claude-3.7-sonnet model with thinking enabled.

The AI always catches on that the last command run had a typo and attempts to fix it, though even the attempts to fix it can fail with the same problem. The AI itself clearly knows what its supposed to run, but the execution of that is what fails.

 ![Screenshot 2025-05-02 111740](https://us1.discourse-cdn.com/cursor1/original/3X/a/1/a1a40d291714245cc3928a199ecbd1f15ed7a64b.jpeg)

---

<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:** [June 1, 2025, 4:29pm UTC](https://forum.cursor.com/t/terminal-tool-calls-run-with-typos/85887/2 "2025-06-01T16:29:38Z")

</div>

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