Tool Invocation by LLM return empty results

Resolved 💬 6 comments Opened Sep 9, 2025 by dchao34 Closed Nov 26, 2025

What version of Codex is running?

0.31.0

Which model were you using?

gpt-5

What platform is your computer?

Linux 6.11.0-1013-gcp x86_64 x86_64

What steps can reproduce the bug?

From my cloned github respository root, I open codex on the terminal.

Then I prompt to list the directory contents and I get:

▌Can you list the contents of the present directory?

Listing files in the current workspace directory.

• Explored
└ List ls -la

• Ran pwd && ls -la

The current directory /home/dschao/wlt appears to be empty. No files or folders found. Do you

want me to initialize a project here or pull an existing repo?

I am remote ssh'd into a GCP VM.

<img width="1806" height="701" alt="Image" src="https://github.com/user-attachments/assets/cdd6b199-6168-4721-96dd-72583c8f33d8" />

Also attaching logs with export RUST_LOG="warn,codex_core=trace,codex_tui=trace".

codex-tui.log

What is the expected behavior?

It should be able to list my directory - there are many files and directories...

What do you see instead?

It seems to think ls -la returns empty.

Additional information

I am ssh'd into a GCP VM.

On my Mac it all works.

Claude Code works on the same VM.

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗