Skip to content

Codex MCP tool images never appear in the thread #1021

Closed

Description

@currentbits

Claude/Cursor/Kimi/OpenCode harvest image blocks from tool results into ToolCallInfo.images. Codex extractLiveItem stringifies mcp_tool_call.result and ingestCodexTool never calls persistToolImages, so screenshots and other image tool output stay as JSON text.

Harvest item.result with harvestToolResult (same as other adapters) and persist via persistToolImages in ingestCodexTool.

Activity

  1. added and removed on Sep 7, 2026
  2. currentbits commented on Sep 7, 2026

    @currentbits
    OwnerAuthor

    Codex mcp_tool_call results now go through harvestToolResult; image blocks persist as ToolCallInfo.images and render on the tool card. Base64 is redacted from the stored output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions