Skip to content
1 min read · 34 words

Variable: qwen3CoderToolCallParser

ts
const qwen3CoderToolCallParser: ToolCallParserFn;

Defined in: src/batteries/llm/chat_common/tool_parsers.ts:959

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>.