---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/llm/transformers_js/helpers/variables/qwen3CoderToolCallParser.md
description: Parse Qwen3-Coder's custom per-parameter XML —
---

# Variable: qwen3CoderToolCallParser

```ts
const qwen3CoderToolCallParser: ToolCallParserFn;
```

Defined in: [src/batteries/llm/chat\_common/tool\_parsers.ts:959](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/llm/chat_common/tool_parsers.ts#L959)

Parse Qwen3-Coder's custom per-parameter XML — `<tool_call><function=NAME><parameter=k>v</parameter>
…</function></tool_call>`. Values are taken as trimmed strings (the format is untyped). Anchored on
the literal `<function=` tag, distinct from Hermes's JSON-in-`<tool_call>`.
