openai / openai/codex

Computer Use / node_repl: nodeRepl.write and nodeRepl.emitImage execute but MCP content[] (screenshots) not surfaced to model

Open
#38,225 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug computer-use mcp tool-calls windows-os
Dominant language
Rust
Stars
125k
Forks
19.5k
PR merge metrics
PR metrics pending

Description

What version of the Codex App are you using (From “About Codex” dialog)?

Powered by Codex & OWL Version 26.803.81509, Released Aug 11, 2026

What subscription do you have?

Plus

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Computer Use tool calls to @oai/sky run, and nodeRepl.write / nodeRepl.emitImage appear to execute successfully. However, the tool output visible to the assistant only shows metadata or no payload at all — the actual image content is missing. As a result, Computer Use cannot inspect screenshots b

computer-use-screenshot-bug-report.md

ecause the content[] array returned by node_repl over MCP is not being surfaced to the model.

What steps can reproduce the bug?

Start a Computer Use session using @oai/sky. Call nodeRepl.write or nodeRepl.emitImage to emit a screenshot/image. Observe that the call executes without error. Inspect the tool output available to the model — only metadata (or nothing) appears instead of the image payload.

What is the expected behavior?

The content[] array returned by node_repl over MCP (including image/screenshot payloads from emitImage) should be surfaced to the model, so Computer Use can actually inspect the screenshot rather than just metadata.

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the Computer Use and node_repl MCP tool-output path described in the reproduction, focusing on where the returned content[] is converted into model-visible output. Reproduce with nodeRepl.write and nodeRepl.emitImage, then verify that image payloads as well as metadata reach the model.

Written by the indexing model from the issue text.

Assessment

Domain
ai-infra-agents, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.