{
"parser": "qwen3_coder",
"tools": [
{
"type": "function",
"function": {
"name": "get_weather",
"parameters": {
"type": "object",
"properties": {"city": {"type": "string"}, "days": {"type": "integer"}, "unit": {"enum": ["c", "f"]}},
"required": ["city"]
}
}
},
{
"type": "function",
"function": {
"name": "calc",
"parameters": {
"type": "object",
"properties": {
"x": {"type": "number"},
"y": {"type": ["number", "null"]},
"exact": {"type": "boolean"},
"n": {"anyOf": [{"type": "integer"}, {"type": "null"}]},
"mode": {"enum": [1, 2.5]}
}
}
}
},
{
"type": "function",
"function": {
"name": "search",
"parameters": {
"type": "object",
"properties": {
"query": {"type": "string"},
"filters": {"type": "object"},
"tags": {"type": "array", "items": {"type": "string"}},
"nothing": {"type": "null"},
"pick": {"oneOf": [{"type": "string"}, {"type": "integer"}]},
"flag": {"enum": [true, false]},
"nested": {"properties": {"a": {"type": "string"}}},
"list": {"items": {"type": "integer"}},
"both": {"allOf": [{"type": "string"}, {"type": "integer"}]}
}
}
}
},
{
"type": "function",
"function": {
"name": "union",
"parameters": {
"anyOf": [
{"type": "object", "properties": {"kind": {"type": "integer"}}},
{
"type": "object",
"properties": {"kind": {"type": "string"}, "size": {"type": "number"}}
}
]
}
}
},
{
"type": "function",
"function": {
"name": "bare",
"parameters": {"type": "object", "additionalProperties": {"type": "integer"}}
}
},
{"type": "function", "function": {"name": "no_params"}},
{
"type": "function",
"function": {
"name": "literals",
"parameters": {
"type": "object",
"properties": {
"a": {"type": "null"},
"b": {"type": "null"},
"c": {"type": "null"},
"d": {"type": "null"},
"e": {"type": "null"},
"f": {"type": "null"},
"g": {"type": "null"},
"h": {"type": "null"},
"i": {"type": "null"},
"j": {"type": "null"},
"k": {"type": "null"},
"l": {"type": "null"},
"m": {"type": "null"},
"n": {"type": "null"},
"o": {"type": "null"},
"p": {"type": "null"},
"q": {"type": "null"},
"r": {"type": "null"},
"s": {"type": "null"},
"t": {"type": "null"},
"u": {"type": "null"}
}
}
}
}
],
"inputs": [
[
"
\n{'a'",
": 1}\n \n\n
\n", "FALSE\n\n\n<",
"/tool_call>"
],
[
"
\n", "multi\nline\n\nvalu",
"e\n\n<", "parameter=filter", "s>\n{\"a\": 1, \"b\":", " [true, null]}\n<",
"/parameter>\n
\n{'a': 1, 'b': ",
"(2, 3), 'c': Non", "e, 'd': True}\n", "parameter>\n
\n{\"a\": NaN, \"b\"",
": 1e400, \"c\": 12", "3456789012345678", "901234567890}\n", "parameter>\n \n{1: 'a', 'b': ",
"2, None: 3, 2.5:", " 4, False: 5, 1.", "0: 'z'}\n\n \nNone\n\n
\n'quoted'\n
\n[1, 'two', {'t", "hree': 3}]\n
\n{'s': 'it\\'s',", " 't': \"dq\", 'u':", " '\\u00e9\\n'}\n
\n\n[\"\\u0", "0e9\"]\n\n\n<", "/tool_call>" ], [ "\n", "null\n\n
\n{'a'",
": 1}\n \n\n
\n", "FALSE\n\n\n<",
"/tool_call>"
],
"steps": [
["", []],
["", [[0, "calc", ""]]],
["", []],
["", [[0, null, "{"], [0, null, "\"x\": 10.5"]]],
["", []],
["", []],
["", [[0, null, ", \"y\": 12345678901234567168"]]],
["", []],
["", [[0, null, ", \"n\": 1000"]]],
["", []],
["", []],
["", [[0, null, ", \"exact\": false"], [0, null, "}"]]],
["", []]
],
"unary": [
"",
[[0, "calc", "{\"x\": 10.5, \"y\": 12345678901234567168, \"n\": 1000, \"exact\": false}"]]
]
},
{
"chunks": [
"
\n", "multi\nline\n\nvalu",
"e\n\n<", "parameter=filter", "s>\n{\"a\": 1, \"b\":", " [true, null]}\n<",
"/parameter>\n
\n{'a': 1, 'b': ",
"(2, 3), 'c': Non", "e, 'd': True}\n", "parameter>\n
\n{\"a\": NaN, \"b\"",
": 1e400, \"c\": 12", "3456789012345678", "901234567890}\n", "parameter>\n \n{1: 'a', 'b': ",
"2, None: 3, 2.5:", " 4, False: 5, 1.", "0: 'z'}\n\n \nNone\n\n
\n'quoted'\n
\n[1, 'two', {'t", "hree': 3}]\n
\n{'s': 'it\\'s',", " 't': \"dq\", 'u':", " '\\u00e9\\n'}\n
\n\n[\"\\u0", "0e9\"]\n\n\n<", "/tool_call>" ], "steps": [ ["", []], ["", [[0, "search", ""]]], ["", []], ["", []], ["", []], ["", []], [ "", [ [0, null, "{"], [0, null, "\"filters\": {\"s\": \"it's\", \"t\": \"dq\", \"u\": \"é\\n\"}"] ] ], ["", []], ["", []], ["", [[0, null, ", \"tags\": [\"é\"]"], [0, null, "}"]]], ["", []] ], "unary": [ "", [ [ 0, "search", "{\"filters\": {\"s\": \"it's\", \"t\": \"dq\", \"u\": \"é\\n\"}, \"tags\": [\"é\"]}" ] ] ] }, { "chunks": [ "\n", "null\n\n