From 3b4186986f5f67aa324721d22d81e4f1501fd131 Mon Sep 17 00:00:00 2001 From: Andrey Mishchenko Date: Tue, 23 Jun 2026 16:52:40 -0700 Subject: [PATCH] Update new_context_window instructions (#29739) --- codex-rs/core/src/tools/handlers/new_context_window_spec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-rs/core/src/tools/handlers/new_context_window_spec.rs b/codex-rs/core/src/tools/handlers/new_context_window_spec.rs index f58b66e58..d2bde1f13 100644 --- a/codex-rs/core/src/tools/handlers/new_context_window_spec.rs +++ b/codex-rs/core/src/tools/handlers/new_context_window_spec.rs @@ -8,7 +8,7 @@ pub(crate) const NEW_CONTEXT_WINDOW_TOOL_NAME: &str = "new_context"; pub fn create_new_context_window_tool() -> ToolSpec { ToolSpec::Function(ResponsesApiTool { name: NEW_CONTEXT_WINDOW_TOOL_NAME.to_string(), - description: "Start a new context window.".to_string(), + description: "Start a new context window. Does not clear, reset, or otherwise affect environment state.".to_string(), strict: false, defer_loading: None, parameters: JsonSchema::object(BTreeMap::new(), /*required*/ None, Some(false.into())),