Skip to content

Tool Invocation by LLM return empty results #3393

@dchao34

Description

@dchao34

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.

Image

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtool-callsIssues related to tool calling

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions