[GH-ISSUE #4663] Tool call for a tool not declared in the current tools list is returned as raw text (finish_reason=stop), breaking agent sessions #2120

Closed
opened 2026-11-04 01:56:51 +07:00 by bsakaguchi · 7 comments
Owner

Originally created by @gaotong1992 on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4663

Environment

  • Strata engine: 0.1.48 (/props → "build_info": "Strata 0.1.48")
  • Model: qwen3.8-flash-next-unsloth-ud-iq4_xs (GGUF, Q4_XS)
  • Endpoint: OpenAI-compatible /v1/chat/completions, streaming, tools + tool_choice: "auto"
  • Not yet re-tested on 0.2.8 / engine 0.1.54

Summary

When the model emits a well-formed native Qwen tool call (<tool_call><function=Name><parameter=...>) for a function name that is not present in the current request's tools array, but that name appeared earlier in the conversation history, Strata returns the raw XML as message.content with finish_reason: "stop" and no tool_calls.

Agent clients see a plain-text assistant message, cannot execute the tool, and the session stalls. This happens in long agent sessions because the active tool set changes over time (deferred tools loaded/unloaded, MCP tools, context compaction), so the model may call a tool it used earlier that is not declared in the current turn.

The 0.2.8 release note says the improved tolerance "only applies to tools the request declared", so this specific case is still uncovered.

Minimal reproduction

import requests

BASE = "http://<host>:<port>/v1"
H = {"Authorization": "Bearer <api-key>"}

def fn(name, props, required, desc=""):
    return {"type": "function", "function": {
        "name": name, "description": desc,
        "parameters": {"type": "object", "properties": props, "required": required}}}

TODO = fn("TodoWrite", {"todos": {"type": "array", "items": {"type": "object", "properties": {
    "content": {"type": "string"}, "status": {"type": "string"}, "priority": {"type": "string"}},
    "required": ["content", "status", "priority"]}}}, ["todos"], "Track tasks.")
BASH = fn("Bash", {"command": {"type": "string"}}, ["command"], "Run a bash command.")

messages = [
    {"role": "system", "content": "You are a coding agent."},
    {"role": "user", "content": "Show the working directory with Bash."},
    {"role": "assistant", "content": "", "tool_calls": [
        {"id": "call_1", "type": "function",
         "function": {"name": "Bash", "arguments": "{\"command\":\"pwd\"}"}}]},
    {"role": "tool", "tool_call_id": "call_1", "content": "/home/user/project"},
    {"role": "user", "content": "Now list the files with Bash as well."},
]

for label, tools in [("Bash NOT declared", [TODO]), ("Bash declared", [TODO, BASH])]:
    r = requests.post(BASE + "/chat/completions", headers=H, json={
        "model": "strata", "messages": messages, "tools": tools,
        "tool_choice": "auto", "max_tokens": 512, "temperature": 0.7},
        timeout=300).json()
    ch = r["choices"][0]
    m = ch["message"]
    print(label,
          "| finish:", ch["finish_reason"],
          "| tool_calls:", [t["function"]["name"] for t in (m.get("tool_calls") or [])],
          "| raw XML in content:", "<tool_call>" in (m.get("content") or ""))

Actual output (3 runs each):

Bash NOT declared | finish: stop         | tool_calls: []       | raw XML in content: True   (2/3 runs)
Bash declared     | finish: tool_calls   | tool_calls: ['Bash'] | raw XML in content: False  (3/3 runs)

Raw leaked content in the failing case:

<tool_call>
<function=Bash>
<parameter=command>
ls -la
</parameter>
</function>
</tool_call>

Expected behavior

Either of:

  1. Parse any well-formed native tool call into tool_calls regardless of whether the name is in the current tools array (let the client decide how to handle an unknown tool), or
  2. Return a structured error (e.g. HTTP 400 / unknown tool) instead of silently moving the call into content.

Returning raw XML as a normal finish_reason: "stop" message is the problematic case: it is indistinguishable from the model replying in prose, so OpenAI-compatible agent clients stop.

Additional evidence

  • 18-turn simulated agent session where the declared tool set alternated between 3 / 1 / 4 tools: 4/18 responses leaked raw XML, and every leak happened on a turn where the model called a tool that was used earlier in the history but was not declared in that turn's tools array.
  • When the called tool is declared, parsing is robust: 16/16 long Chinese TodoWrite calls, 4/4 calls with 20 long arguments (~2000 tokens), 3/3 calls truncated at </parameter> via a stop sequence — all returned proper tool_calls.
  • The same workload against vLLM (--tool-call-parser) and the official Qwen API does not lose these calls.

Impact

Long-running coding-agent sessions (ZCode / Claude-Code-style harnesses with dynamic tool sets) stop with an apparent "model printed a todo list and froze" symptom. A proxy that re-injects previously-used tool names into tools works around it, but the server-side behavior is the real issue.

Suggested fix location

The native tool-call parser appears to validate the function name against the request's declared tools and falls back to content on mismatch. Relaxing that check (parse any matching <tool_call> block) or emitting an explicit error would fix the long-session failure mode.

Originally created by @gaotong1992 on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4663 ## Environment - Strata engine: `0.1.48` (`/props` → `"build_info": "Strata 0.1.48"`) - Model: `qwen3.8-flash-next-unsloth-ud-iq4_xs` (GGUF, Q4_XS) - Endpoint: OpenAI-compatible `/v1/chat/completions`, streaming, `tools` + `tool_choice: "auto"` - Not yet re-tested on 0.2.8 / engine 0.1.54 ## Summary When the model emits a well-formed native Qwen tool call (`<tool_call><function=Name><parameter=...>`) for a function name that is **not present in the current request's `tools` array**, but that name appeared earlier in the conversation history, Strata returns the raw XML as `message.content` with `finish_reason: "stop"` and no `tool_calls`. Agent clients see a plain-text assistant message, cannot execute the tool, and the session stalls. This happens in long agent sessions because the active tool set changes over time (deferred tools loaded/unloaded, MCP tools, context compaction), so the model may call a tool it used earlier that is not declared in the current turn. The 0.2.8 release note says the improved tolerance "only applies to tools the request declared", so this specific case is still uncovered. ## Minimal reproduction ```python import requests BASE = "http://<host>:<port>/v1" H = {"Authorization": "Bearer <api-key>"} def fn(name, props, required, desc=""): return {"type": "function", "function": { "name": name, "description": desc, "parameters": {"type": "object", "properties": props, "required": required}}} TODO = fn("TodoWrite", {"todos": {"type": "array", "items": {"type": "object", "properties": { "content": {"type": "string"}, "status": {"type": "string"}, "priority": {"type": "string"}}, "required": ["content", "status", "priority"]}}}, ["todos"], "Track tasks.") BASH = fn("Bash", {"command": {"type": "string"}}, ["command"], "Run a bash command.") messages = [ {"role": "system", "content": "You are a coding agent."}, {"role": "user", "content": "Show the working directory with Bash."}, {"role": "assistant", "content": "", "tool_calls": [ {"id": "call_1", "type": "function", "function": {"name": "Bash", "arguments": "{\"command\":\"pwd\"}"}}]}, {"role": "tool", "tool_call_id": "call_1", "content": "/home/user/project"}, {"role": "user", "content": "Now list the files with Bash as well."}, ] for label, tools in [("Bash NOT declared", [TODO]), ("Bash declared", [TODO, BASH])]: r = requests.post(BASE + "/chat/completions", headers=H, json={ "model": "strata", "messages": messages, "tools": tools, "tool_choice": "auto", "max_tokens": 512, "temperature": 0.7}, timeout=300).json() ch = r["choices"][0] m = ch["message"] print(label, "| finish:", ch["finish_reason"], "| tool_calls:", [t["function"]["name"] for t in (m.get("tool_calls") or [])], "| raw XML in content:", "<tool_call>" in (m.get("content") or "")) ``` Actual output (3 runs each): ``` Bash NOT declared | finish: stop | tool_calls: [] | raw XML in content: True (2/3 runs) Bash declared | finish: tool_calls | tool_calls: ['Bash'] | raw XML in content: False (3/3 runs) ``` Raw leaked content in the failing case: ``` <tool_call> <function=Bash> <parameter=command> ls -la </parameter> </function> </tool_call> ``` ## Expected behavior Either of: 1. Parse any well-formed native tool call into `tool_calls` regardless of whether the name is in the current `tools` array (let the client decide how to handle an unknown tool), or 2. Return a structured error (e.g. HTTP 400 / `unknown tool`) instead of silently moving the call into `content`. Returning raw XML as a normal `finish_reason: "stop"` message is the problematic case: it is indistinguishable from the model replying in prose, so OpenAI-compatible agent clients stop. ## Additional evidence - 18-turn simulated agent session where the declared tool set alternated between 3 / 1 / 4 tools: **4/18 responses leaked raw XML**, and every leak happened on a turn where the model called a tool that was used earlier in the history but was **not declared in that turn's `tools` array**. - When the called tool is declared, parsing is robust: 16/16 long Chinese `TodoWrite` calls, 4/4 calls with 20 long arguments (~2000 tokens), 3/3 calls truncated at `</parameter>` via a stop sequence — all returned proper `tool_calls`. - The same workload against vLLM (`--tool-call-parser`) and the official Qwen API does not lose these calls. ## Impact Long-running coding-agent sessions (ZCode / Claude-Code-style harnesses with dynamic tool sets) stop with an apparent "model printed a todo list and froze" symptom. A proxy that re-injects previously-used tool names into `tools` works around it, but the server-side behavior is the real issue. ## Suggested fix location The native tool-call parser appears to validate the function name against the request's declared `tools` and falls back to content on mismatch. Relaxing that check (parse any matching `<tool_call>` block) or emitting an explicit error would fix the long-session failure mode.
Author
Owner

@github-actions[bot] commented on GitHub (Oct 30, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".
  • Add your graphics card with its VRAM, your RAM and your operating system.

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6513657852 --> @github-actions[bot] commented on GitHub (Oct 30, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". - [ ] Add your graphics card with its VRAM, your RAM and your operating system. Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@rugabunda commented on GitHub (Oct 30, 2026):

Same issue here on totally fresh strata install, using opencode over strata api; forced to use another fork, and copy the self compiled engine from strata copy. Similar if not same issue: https://github.com/Niko1221/Strata/issues/4663

<!-- gh-comment-id:6514558204 --> @rugabunda commented on GitHub (Oct 30, 2026): Same issue here on totally fresh strata install, using opencode over strata api; forced to use another fork, and copy the self compiled engine from strata copy. Similar if not same issue: https://github.com/Niko1221/Strata/issues/4663
Author
Owner

@Tsury commented on GitHub (Oct 30, 2026):

Reproduces on 0.2.8 (engine 0.1.54), on the Anthropic /v1/messages route, with Claude Code's tool search.

  • Setup: RTX 5090 Laptop 24 GB, 64 GB RAM, Ubuntu; 0.2.8 source build; SC117 Qwen3.8-Flash-Next IQ3_S; tool_call_recovery at its default (on).
  • Client: Claude Code 2.1.310 -p with tool search on. MCP tools are deferred, so the request's tools holds ToolSearch and the built-in tools, but not the MCP tools.
  • Prompt: "Use the openaiDeveloperDocs MCP server's search tool to look up 'Responses API background mode'. Reply with the title of the first result only."
  • 3 of 5 sessions: the model called ToolSearch, then the MCP tool, and answered correctly.
  • 1 of 5: the model called the deferred tool directly. The reply was this text with stop_reason: end_turn and no tool_use:
    <tool_call>
    <function=mcp__openaiDeveloperDocs__search_openai_docs>
    <parameter=query>
    Responses API background mode
    </parameter>
    </function>
    </tool_call>
    
    Claude Code gets no tool call, so it cannot tell the model to load the tool first, and the session ends.
  • (The fifth session answered "Ready." without calling a tool. That is a separate result.)

With deferred tools, a call to a tool that exists but is not in tools is expected client behavior. Claude Code can recover from it if it receives the call as a tool_use.

<!-- gh-comment-id:6516904100 --> @Tsury commented on GitHub (Oct 30, 2026): Reproduces on 0.2.8 (engine 0.1.54), on the Anthropic `/v1/messages` route, with Claude Code's tool search. - Setup: RTX 5090 Laptop 24 GB, 64 GB RAM, Ubuntu; 0.2.8 source build; SC117 Qwen3.8-Flash-Next IQ3_S; `tool_call_recovery` at its default (on). - Client: Claude Code 2.1.310 `-p` with tool search on. MCP tools are deferred, so the request's `tools` holds `ToolSearch` and the built-in tools, but not the MCP tools. - Prompt: "Use the openaiDeveloperDocs MCP server's search tool to look up 'Responses API background mode'. Reply with the title of the first result only." - 3 of 5 sessions: the model called `ToolSearch`, then the MCP tool, and answered correctly. - 1 of 5: the model called the deferred tool directly. The reply was this text with `stop_reason: end_turn` and no `tool_use`: ``` <tool_call> <function=mcp__openaiDeveloperDocs__search_openai_docs> <parameter=query> Responses API background mode </parameter> </function> </tool_call> ``` Claude Code gets no tool call, so it cannot tell the model to load the tool first, and the session ends. - (The fifth session answered "Ready." without calling a tool. That is a separate result.) With deferred tools, a call to a tool that exists but is not in `tools` is expected client behavior. Claude Code can recover from it if it receives the call as a `tool_use`.
Author
Owner

@xrip commented on GitHub (Oct 30, 2026):

#4700 fixes the Claude Code case from Tsury's comment.

What happened: Claude Code stopped in the middle of a job, and its last message was raw <tool_call> text. The model made a good tool call, but Strata sent it back as answer text, because the tool was not in the request's tools list. With tool search on (the default behind ANTHROPIC_BASE_URL), Claude Code keeps MCP tools out of that list until the model loads them with ToolSearch. When the model calls one straight away, Claude Code gets only text and stops.

What I saw when I ran Claude Code 2.1.314 against a small fake API:

  • tools has the built-in tools, ToolSearch and an empty DeferredToolPlaceholder marked defer_loading: true. MCP tools are only named in the chat.
  • After ToolSearch, the answer is a tool_reference, and the tool is in tools from then on.
  • Claude Code runs a call to an MCP tool even when the model never loaded it.

So #4700 follows Anthropic's rules on /v1/messages. When the request has a defer_loading tool, a call for a tool that is not in the list comes back as a tool call, so Claude Code runs it and goes on. The model also now sees what ToolSearch found. Requests without tool search work as before.

Not fixed: the first report here, Chat Completions with tools that change between turns. That route gives no sign that the client holds tools back, so those calls stay text.

<!-- gh-comment-id:6521841289 --> @xrip commented on GitHub (Oct 30, 2026): #4700 fixes the Claude Code case from Tsury's comment. What happened: Claude Code stopped in the middle of a job, and its last message was raw `<tool_call>` text. The model made a good tool call, but Strata sent it back as answer text, because the tool was not in the request's `tools` list. With tool search on (the default behind `ANTHROPIC_BASE_URL`), Claude Code keeps MCP tools out of that list until the model loads them with `ToolSearch`. When the model calls one straight away, Claude Code gets only text and stops. What I saw when I ran Claude Code 2.1.314 against a small fake API: - `tools` has the built-in tools, `ToolSearch` and an empty `DeferredToolPlaceholder` marked `defer_loading: true`. MCP tools are only named in the chat. - After `ToolSearch`, the answer is a `tool_reference`, and the tool is in `tools` from then on. - Claude Code runs a call to an MCP tool even when the model never loaded it. So #4700 follows Anthropic's rules on `/v1/messages`. When the request has a `defer_loading` tool, a call for a tool that is not in the list comes back as a tool call, so Claude Code runs it and goes on. The model also now sees what `ToolSearch` found. Requests without tool search work as before. Not fixed: the first report here, Chat Completions with tools that change between turns. That route gives no sign that the client holds tools back, so those calls stay text.
Author
Owner

@wangchll commented on GitHub (Oct 30, 2026):

Same failure here on a different client (DeepSeek Harness, over /v1/chat/completions), and the host logs enough to split it into two defects. I think only the first one is the bug in this issue's title.

Setup: App 0.2.8 (I first saw it on 0.2.7), engine 0.1.54, Windows 10 22H2 (19045), 2× Tesla V100-SXM2-16GB (sm_70, driver 582.78, one model layer-split across both cards), client deepseek-harness/0.2.1-rc.3.

The server knows it dropped the call, and it logs the name. 19 lines in app-1.server.log:

[strata] 1 <tool_call> block(s) in the answer did not read as a call of a declared tool
and went back as text (a name the request did not declare, or a form the template does
not use); the names the model wrote: read_file; the response carries them as
strata_rejected_tool_calls, /metrics counts them

/metrics agrees: totals.tool_calls_unread: 7 over 629 requests in the live 0.1.54 session.

The names the model actually wrote (all 19 occurrences):

name the model wrote times real tool of this harness?
read_file 6 no — the harness declares read
exec 4 no — the harness declares pwsh
psws 3 no — not a tool anywhere
pspwsh 2 no — looks like ps + pwsh
mw 1 no
mw93mnemon_runtime_memory 1 real name, with mw93 glued to the front
report 1 no

Two groups:

  1. read_file, exec, report — plausible names the model reaches for instead of the declared read / pwsh / (report has no obvious target). This is the path in this issue's title: DSH gets the XML back as message.content with finish_reason: "stop" and no tool_calls, the harness has nothing to dispatch, and the turn ends there. With DSH that is usually the end of the session.

  2. psws, pspwsh, mw, mw93mnemon_runtime_memory — corrupted names. They are not names from history or from training, and no request in any form could dispatch them. The rest of the turn arrives intact (the surrounding done: 232 tokens (stop) line is normal), so this does not look like a parser problem: the name tokens themselves come out wrong. Whatever tolerance 0.2.8 added for undeclared names cannot help these — there is nothing to match them against.

Group 2 is what made me look at the engine instead of the harness: from the client's side both groups look identical ("the model called a tool that does not exist"), and that reading is wrong for the second group.

0.2.8 does not fix it. All 7 occurrences in the live session are on App 0.2.8 / engine 0.1.54 (5× read_file, 2× pspwsh), which matches @Tsury's Anthropic-endpoint report from the other side.

Workaround I'm about to run (covers group 1 only): re-inject every tool name already used earlier in the conversation into the request's tools array, so the model's habitual read_file is at least declared and comes back as a real tool_calls entry. That does nothing for group 2 — a proxy could fuzzy-match pspwsh → pwsh, but I would rather not put a spell-corrector in front of a model and hide the defect.

Two other things from the same box, in case they share a root:

  • 392× the reply reached max tokens while still thinking, so it has no answer — the turn returns done: 1 tokens (length) with an empty answer. A harness usually has no path for that either, so the session ends the same way it does above. Nearly all of mine come from a long session with a large thinking budget.
  • engine deaths on layer splits: Unrecoverable native verification failure: verify: timed out at layer 1; its GPU waits were released but the GPU did not finish within 5 s, right after decode fell 51.7 → 9.2 → 5.0 tok/s; and one silent engine stopped unexpectedly (exit code None) in the middle of reading a 40,927-token prompt. Possibly #4662, but I see it on 0.1.52 as well as 0.1.54.

Housekeeping, since the thread is still moving: the bot asked for the [Engine] prefix in the title and the hardware line in the body, and closes the issue after 5 days without them. Worth adding while people are still reading it.

<!-- gh-comment-id:6525339148 --> @wangchll commented on GitHub (Oct 30, 2026): Same failure here on a different client (DeepSeek Harness, over `/v1/chat/completions`), and the host logs enough to split it into **two** defects. I think only the first one is the bug in this issue's title. **Setup:** App 0.2.8 (I first saw it on 0.2.7), engine 0.1.54, Windows 10 22H2 (19045), 2× Tesla V100-SXM2-16GB (sm_70, driver 582.78, one model layer-split across both cards), client `deepseek-harness/0.2.1-rc.3`. **The server knows it dropped the call, and it logs the name.** 19 lines in `app-1.server.log`: ``` [strata] 1 <tool_call> block(s) in the answer did not read as a call of a declared tool and went back as text (a name the request did not declare, or a form the template does not use); the names the model wrote: read_file; the response carries them as strata_rejected_tool_calls, /metrics counts them ``` `/metrics` agrees: `totals.tool_calls_unread: 7` over 629 requests in the live 0.1.54 session. **The names the model actually wrote** (all 19 occurrences): | name the model wrote | times | real tool of this harness? | |---|---|---| | `read_file` | 6 | no — the harness declares `read` | | `exec` | 4 | no — the harness declares `pwsh` | | `psws` | 3 | no — not a tool anywhere | | `pspwsh` | 2 | no — looks like `ps` + `pwsh` | | `mw` | 1 | no | | `mw93mnemon_runtime_memory` | 1 | real name, with `mw93` glued to the front | | `report` | 1 | no | Two groups: 1. **`read_file`, `exec`, `report`** — plausible names the model reaches for instead of the declared `read` / `pwsh` / (`report` has no obvious target). This is the path in this issue's title: DSH gets the XML back as `message.content` with `finish_reason: "stop"` and no `tool_calls`, the harness has nothing to dispatch, and the turn ends there. With DSH that is usually the end of the session. 2. **`psws`, `pspwsh`, `mw`, `mw93mnemon_runtime_memory`** — **corrupted names.** They are not names from history or from training, and no request in any form could dispatch them. The rest of the turn arrives intact (the surrounding `done: 232 tokens (stop)` line is normal), so this does not look like a parser problem: the name tokens themselves come out wrong. Whatever tolerance 0.2.8 added for undeclared names cannot help these — there is nothing to match them against. Group 2 is what made me look at the engine instead of the harness: from the client's side both groups look identical ("the model called a tool that does not exist"), and that reading is wrong for the second group. **0.2.8 does not fix it.** All 7 occurrences in the live session are on App 0.2.8 / engine 0.1.54 (5× `read_file`, 2× `pspwsh`), which matches @Tsury's Anthropic-endpoint report from the other side. **Workaround I'm about to run** (covers group 1 only): re-inject every tool name already used earlier in the conversation into the request's `tools` array, so the model's habitual `read_file` is at least declared and comes back as a real `tool_calls` entry. That does nothing for group 2 — a proxy could fuzzy-match `pspwsh` → `pwsh`, but I would rather not put a spell-corrector in front of a model and hide the defect. Two other things from the same box, in case they share a root: - **392×** `the reply reached max tokens while still thinking, so it has no answer` — the turn returns `done: 1 tokens (length)` with an empty answer. A harness usually has no path for that either, so the session ends the same way it does above. Nearly all of mine come from a long session with a large thinking budget. - **engine deaths on layer splits**: `Unrecoverable native verification failure: verify: timed out at layer 1; its GPU waits were released but the GPU did not finish within 5 s`, right after decode fell 51.7 → 9.2 → 5.0 tok/s; and one silent `engine stopped unexpectedly (exit code None)` in the middle of reading a 40,927-token prompt. Possibly #4662, but I see it on 0.1.52 as well as 0.1.54. Housekeeping, since the thread is still moving: the bot asked for the `[Engine]` prefix in the title and the hardware line in the body, and closes the issue after 5 days without them. Worth adding while people are still reading it.
Author
Owner

@Niko1221 commented on GitHub (Oct 31, 2026):

0.2.9 fixes part of this, on the OpenAI chat route (/v1/chat/completions): a tool the conversation already called is accepted even when this request's tools list no longer names it, so the client gets a real tool call.

Not covered yet: the Anthropic and Responses routes, and a tool the conversation never called, such as the Claude Code tool search case above. PR #4700 is about that case and we haven't taken it yet. Keeping this open for those. If you still see it on the OpenAI route on 0.2.9, please say which client and post the strata_rejected_tool_calls from the response.

<!-- gh-comment-id:6541141222 --> @Niko1221 commented on GitHub (Oct 31, 2026): [0.2.9](https://github.com/Niko1221/Strata/releases/tag/v0.2.9) fixes part of this, on the OpenAI chat route (`/v1/chat/completions`): a tool the conversation already called is accepted even when this request's `tools` list no longer names it, so the client gets a real tool call. Not covered yet: the Anthropic and Responses routes, and a tool the conversation never called, such as the Claude Code tool search case above. PR #4700 is about that case and we haven't taken it yet. Keeping this open for those. If you still see it on the OpenAI route on 0.2.9, please say which client and post the `strata_rejected_tool_calls` from the response.
Author
Owner

@github-actions[bot] commented on GitHub (Nov 4, 2026):

Closing this issue because it still did not follow the format after 5 days. That is housekeeping, not a rejection.

To bring it back: fix the title (area prefix) and the missing parts, then comment /reopen. A check runs and reopens it, or tells you what is still missing. See CONTRIBUTING.md.

<!-- gh-comment-id:6622493151 --> @github-actions[bot] commented on GitHub (Nov 4, 2026): Closing this issue because it still did not follow the format after 5 days. That is housekeeping, not a rejection. To bring it back: fix the title (area prefix) and the missing parts, then comment `/reopen`. A check runs and reopens it, or tells you what is still missing. See [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#2120
No description provided.