Skip to content

send_message_to_thread fails with "'sendRequest.bind' is not a function." from an ephemeral side chat, while the identical call succeeds from a regular chat #55023

Closed as duplicate

Description

@rdletter0415

Summary

Sending a message to an existing target thread succeeds from a regular chat but fails from an ephemeral side chat.

In a controlled comparison, both calls used the same tool, target thread ID, hostId, and prompt. The regular-chat call succeeded and received an acknowledgement from the target thread. The side-chat call returned isError: true with the following error:

'sendRequest.bind' is not a function.

Environment

  • Platform: macOS; the exact OS version was not collected
  • Product: Codex in the ChatGPT desktop app
  • App display name: ChatGPT
  • Bundle ID: com.openai.codex
  • App version: 26.1007.71326
  • Build: 20398
  • Incident date: October 18, 2026
  • Time zone: Asia/Seoul, UTC+09:00
  • Tool: tools.mcp__codex_app__send_message_to_thread
  • Tool namespace: mcp__codex_app
  • Outer execution tool: functions.exec

Steps to Reproduce

  1. Leave an existing target thread idle.
  2. From a regular chat, invoke send_message_to_thread using the arguments below.
  3. Confirm that the target thread receives the message and returns the requested acknowledgement.
  4. From an ephemeral side chat, invoke the same tool once with exactly the same arguments.
  5. Inspect the complete return object and the target thread's latest received turns.

The user explicitly authorized both test transmissions. The optional model and thinking arguments were omitted in both calls.

const result = await tools.mcp__codex_app__send_message_to_thread({
  threadId: "01a13dfe-e475-7a52-a26d-d510bbb07869",
  hostId: "local",
  prompt: "[MCP 비교 점검 MCP_COMPARE_20261018_01] 기존 업무를 재개하지 마세요. 파일·코드·DB·Git 변경과 다른 채팅 전송 없이, 이 메시지에 'MCP_COMPARE_20261018_01 수신' 한 줄만 답하고 종료하세요."
});
text(result);

The Korean prompt above is preserved verbatim. It instructs the recipient not to resume existing work, modify files/code/databases/Git, or message other chats. It requests only the acknowledgement "MCP_COMPARE_20261018_01 수신" and then termination of the turn.

Expected Behavior

Both source contexts should deliver the message to the same target thread, which should acknowledge receipt without resuming its existing work.

Actual Results

Source context Tool result Target-thread observation
Regular chat isError: false Acknowledgement received
Ephemeral side chat isError: true No new side-originated receipt was found in the two latest turns inspected

Regular-chat response:

{"content":[{"type":"text","text":"{\"threadId\":\"01a13dfe-e475-7a52-a26d-d510bbb07869\"}"}],"isError":false}

The target thread then responded:

MCP_COMPARE_20261018_01 수신

Complete side-chat response:

{"content":[{"type":"text","text":"'sendRequest.bind' is not a function."}],"isError":true}

The outer functions.exec result was:

Script completed
Wall time: 3.3 seconds
Output:
{"content":[{"type":"text","text":"'sendRequest.bind' is not a function."}],"isError":true}

"Script completed" indicates that the outer script finished. It does not indicate successful message delivery; the nested tool explicitly returned isError: true.

Correlation IDs and Timestamps

  • Regular source chat ID:
    01a1466a-a621-7b71-9ea6-cc17edfb26c4

  • Ephemeral side chat ID:
    01a14d91-71ec-7733-9d60-252fdec4c9b1

  • Target thread ID:
    01a13dfe-e475-7a52-a26d-d510bbb07869

  • Successful regular-chat receipt turn ID:
    01a14e06-84ee-7660-aba0-aa6bf81c1337

  • Side-chat test turn ID:
    01a14e06-e7e7-7c30-adb0-173ed7dc7f0f

  • Side-chat outer call ID:
    call_e903ea62033e4683ba088feead4962fa

  • Side-chat outer tool processing log timestamp:
    2026-10-18 17:00:57.067512 KST
    2026-10-18 08:00:57.067512 UTC

  • Side-chat outer tool completion timestamp:
    2026-10-18 17:01:00.362818 KST
    2026-10-18 08:01:00.362818 UTC

  • Target-thread inspection after the side-chat call completed:
    2026-10-18 17:01:10.661198 KST

These are timestamps for the outer functions.exec operation. The precise start time and independent request ID of the nested MCP call were not available.

Additional Observations and Limitations

  • The controlled comparison used one transmission from each source context.
  • Two earlier side-chat attempts also returned the same error text.
  • The controlled comparison used identical target, hostId, and prompt values.
  • After the side-chat failure, the latest acknowledgement still belonged to the successful regular-chat receipt turn. It was not counted as evidence of successful side-chat delivery.
  • No separate error code or stack trace was available.
  • No server-side acceptance or persistence receipt was available.
  • The target inspection covered the latest two turns; it does not establish permanent non-delivery or the complete internal server state.
  • Separately, attempting to retrieve side-chat history returned:
ephemeral threads do not support thread/turns/list
  • The target's successful test turn only acknowledged receipt and terminated without resuming existing project work.

Impact and Workaround

This prevents reliable message handoff from side chats to the main target thread in the observed environment.

The verified workaround is to send the message from a regular chat using the same tool.

Please investigate the client/method binding path used when send_message_to_thread is invoked from an ephemeral side chat. The exact internal failure location has not been established because no stack trace was returned. If this operation is unsupported from side chats, an explicit unsupported-operation error would be more actionable than the current binding error.

Activity

  1. added
    bug
    app
    app-server
    mcp
    tool-calls
    on Oct 18, 2026
  2. etraut-openai commented on Oct 25, 2026

    @etraut-openai
    Contributor

    (response from codex)

    Thanks for testing the same message and target from both a regular chat and a side chat. That comparison helps narrow this down. A side chat can send an explicitly requested message to another thread. The sendRequest.bind error is a desktop bug. The separate thread/turns/list error is expected for ephemeral chats and only applies to reading their history.

    Closing as a duplicate of #51790, where we’re tracking the send failure. In the meantime, sending from a regular chat is the workaround you confirmed.

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

    appapp-serverbugmcptool-calls

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions