所有分支场景都有数据覆盖
有目的地 → 直接调用
无目的地 → 追问
无起点 → 自动使用坐标
工具返回为空 → 返回“查不到路线”
工具返回异常 → 返回 fallback 内容
3)工具链的数据要足够多unsetunset
构建了大量的链式数据
recommend_hotels → get_hotel_reviews → final_answer
search_travel_guide → get_weather_info → final_answer
[
{
"role": "system",
"content": "## 用户信息\n- 用户名: 李伟\n- 当前城市ID: 101200101\n- 出发日期: 2025-12-05\n- 起点坐标: 114.305393,30.593099"
},
{
"role": "user",
"content": "帮我找一家武汉江汉路附近 300 元左右的酒店"
},
{
"role": "assistant",
"content": "好的,请问您的入住和离店日期是什么时候?"
},
{
"role": "user",
"content": "下周五入住,住两晚"
},
{
"role": "assistant",
"tool_calls": [
{
"id": "call_1",
"type": "function",
"function": {
"name": "recommend_hotels",
"arguments": "{\"requirements\": \"武汉江汉路,预算300元,两晚\"}"
}
}
]
},
{
"role": "tool",
"content": "推荐酒店列表:武汉江滩亚朵酒店 …",
"tool_call_id": "call_1"
},
{
"role": "assistant",
"tool_calls": [
{
"id": "call_2",
"type": "function",
"function": {
"name": "get_hotel_reviews",
"arguments": "{\"hotel_name\": \"武汉江滩亚朵酒店\"}"
}
}
]
},
{
"role": "tool",
"content": "酒店评价:干净、位置好 …",
"tool_call_id": "call_2"
},
{
"role": "assistant",
"content": "根据您的预算,为您推荐武汉江滩亚朵酒店 …"
}
]