pub fn has_qwen35_xml_tool_calls(text: &str) -> boolExpand description
Detect whether text contains Qwen3.5 XML parameter-style tool calls.
The format uses <tool_call> blocks containing <function=NAME> tags with
<parameter=KEY>value</parameter> children, as opposed to the Qwen3 format
which embeds a JSON object inside <tool_call>.
Detection requires both <tool_call> and <function= to disambiguate from
Qwen3’s JSON-in-XML format.