From f3f6922519fa38487c8250c2b8a670a39a2cf9ff Mon Sep 17 00:00:00 2001 From: rka-oai Date: Fri, 4 Sep 2026 04:47:56 +0000 Subject: [PATCH] Narrow async user message guidance (#42677) ## What changed Remove guidance that told `send_message_to_user_async` to request missing information, preferences, constraints, clarification, or approval. Keep the tool focused on critical blockers, direction-changing findings, and replies to user questions or status requests during ongoing work. GitOrigin-RevId: c764ffc2b9c14e37467bd25ee3ed07407d550290 --- codex-rs/core/src/tools/handlers/send_message_to_user_async.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-rs/core/src/tools/handlers/send_message_to_user_async.rs b/codex-rs/core/src/tools/handlers/send_message_to_user_async.rs index 2dcc61ee93..4d390028f1 100644 --- a/codex-rs/core/src/tools/handlers/send_message_to_user_async.rs +++ b/codex-rs/core/src/tools/handlers/send_message_to_user_async.rs @@ -43,7 +43,7 @@ impl ToolExecutor for SendMessageToUserAsyncHandler { ToolSpec::Function(ResponsesApiTool { name: TOOL_NAME.to_string(), - description: "Send a concise message that needs the user's attention during ongoing work. The tool returns immediately without ending the turn or waiting for a reply; any reply arrives asynchronously as a new user message. Use this tool to ask for missing information, preferences, constraints, clarification, or approval; report a critical blocker or a finding that may change the task's direction; or answer a user question or status request received while work is still in progress. Use this tool when a message needs the user's immediate attention; use commentary for routine progress and intermediate context. Use clear formatting, such as bolding questions, to make requests easy to notice and answer." + description: "Send a concise message that needs the user's attention during ongoing work. The tool returns immediately without ending the turn or waiting for a reply; any reply arrives asynchronously as a new user message. Use this tool to report a critical blocker or a finding that may change the task's direction, or to answer a user question or status request received while work is still in progress. Use this tool when a message needs the user's immediate attention; use commentary for routine progress and intermediate context. Use clear formatting, such as bolding questions, to make requests easy to notice and answer." .to_string(), strict: false, defer_loading: None,