Question: 刚才查过北京，能再查下广州吗？

{
  "type": "function",
  "function": {
    "name": "get_weather",
    "description": "Retrieve a mock weather report for a given location.",
    "parameters": {
      "properties": {
        "location": {
          "description": "The location to get weather for.",
          "examples": [
            "Shanghai",
            "Beijing",
            "Shenzhen"
          ],
          "type": "string"
        }
      },
      "required": [
        "location"
      ],
      "type": "object"
    }
  }
}


Question: 顺手帮我看下珠海天气，想知道要不要带伞~

{
  "type": "function",
  "function": {
    "name": "get_weather",
    "description": "Retrieve a mock weather report for a given location.",
    "parameters": {
      "properties": {
        "location": {
          "description": "The location to get weather for.",
          "examples": [
            "Shanghai",
            "Beijing",
            "Shenzhen"
          ],
          "type": "string"
        }
      },
      "required": [
        "location"
      ],
      "type": "object"
    }
  }
}


Question: 嘿，能帮我在客厅的音响上播放一首叫“Lo-fi beats”的歌吗？

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 可以放一下Lo-fi beats吗？想在手机上听背景音乐。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 请在电视上播放公司年度大会的视频，标题是“Company all hands”。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 我要听《Love Story》，帮我把这首歌放到卧室蓝牙音箱里。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 麻烦在明天会议开始前先播放名为“Company all hands”的视频，确认一下效果。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 呃，我想听一首叫Love Story的，不确定是音乐还是视频，你能放一下吗？

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 现在就在客厅电视上播放电影《爱之故事》。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 可以帮我把“Lo-fi beats”放到卧室音响上吗？谢谢！

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 我在做饭，顺手放点Lo-fi beats当背景音乐，可以在厨房智能音箱上放吗？

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 刚才你放的那首歌不错，能再放一次“Lo-fi beats”吗？

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 怎么在电视上播放名为“Company all hands”的视频？帮我直接放就行。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 帮我播放标题为“Lo-fi beats”的音乐，音量调到大概五成就好。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 请在会议室显示器上播放“Company all hands”这个视频文件（文件名：Company all hands），我要检查格式是否正常。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 快，马上在客厅音响放首“Lo-fi beats”，现在就开始播放！

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 拜托，放首轻音乐吧，找那首叫Lo-fi beats的。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 在我手机上播放“Love Story”，就是那首很火的歌。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 有个文件叫“Company all hands”，帮我放一下，我不确定这是视频还是音频。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 帮我把“Lo-fi beats”播起来，想让大家能安静地工作。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 嘿，能帮我把空气净化器打开吗？

{
  "type": "function",
  "function": {
    "name": "control_device",
    "description": "Simulate basic device control commands.",
    "parameters": {
      "properties": {
        "device": {
          "description": "Device identifier to control.",
          "examples": [
            "air_purifier",
            "smart_plug_1"
          ],
          "type": "string"
        },
        "action": {
          "description": "Action to perform (power_on, power_off, set_mode).",
          "examples": [
            "power_on",
            "power_off",
            "set_mode"
          ],
          "type": "string"
        },
        "mode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional mode or setting to apply.",
          "examples": [
            "eco",
            "sleep"
          ]
        }
      },
      "required": [
        "device",
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 请把 air_purifier 开机，并把模式设为 eco。

{
  "type": "function",
  "function": {
    "name": "control_device",
    "description": "Simulate basic device control commands.",
    "parameters": {
      "properties": {
        "device": {
          "description": "Device identifier to control.",
          "examples": [
            "air_purifier",
            "smart_plug_1"
          ],
          "type": "string"
        },
        "action": {
          "description": "Action to perform (power_on, power_off, set_mode).",
          "examples": [
            "power_on",
            "power_off",
            "set_mode"
          ],
          "type": "string"
        },
        "mode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional mode or setting to apply.",
          "examples": [
            "eco",
            "sleep"
          ]
        }
      },
      "required": [
        "device",
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 把 smart_plug_1 断电（power_off）。

{
  "type": "function",
  "function": {
    "name": "control_device",
    "description": "Simulate basic device control commands.",
    "parameters": {
      "properties": {
        "device": {
          "description": "Device identifier to control.",
          "examples": [
            "air_purifier",
            "smart_plug_1"
          ],
          "type": "string"
        },
        "action": {
          "description": "Action to perform (power_on, power_off, set_mode).",
          "examples": [
            "power_on",
            "power_off",
            "set_mode"
          ],
          "type": "string"
        },
        "mode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional mode or setting to apply.",
          "examples": [
            "eco",
            "sleep"
          ]
        }
      },
      "required": [
        "device",
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 现在就把智能插座1关掉，马上，谢谢。

{
  "type": "function",
  "function": {
    "name": "control_device",
    "description": "Simulate basic device control commands.",
    "parameters": {
      "properties": {
        "device": {
          "description": "Device identifier to control.",
          "examples": [
            "air_purifier",
            "smart_plug_1"
          ],
          "type": "string"
        },
        "action": {
          "description": "Action to perform (power_on, power_off, set_mode).",
          "examples": [
            "power_on",
            "power_off",
            "set_mode"
          ],
          "type": "string"
        },
        "mode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional mode or setting to apply.",
          "examples": [
            "eco",
            "sleep"
          ]
        }
      },
      "required": [
        "device",
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 在手机上帮我把客厅灯打开一下好吗？

{
  "type": "function",
  "function": {
    "name": "control_device",
    "description": "Simulate basic device control commands.",
    "parameters": {
      "properties": {
        "device": {
          "description": "Device identifier to control.",
          "examples": [
            "air_purifier",
            "smart_plug_1"
          ],
          "type": "string"
        },
        "action": {
          "description": "Action to perform (power_on, power_off, set_mode).",
          "examples": [
            "power_on",
            "power_off",
            "set_mode"
          ],
          "type": "string"
        },
        "mode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional mode or setting to apply.",
          "examples": [
            "eco",
            "sleep"
          ]
        }
      },
      "required": [
        "device",
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 我想把空气净化器切到睡眠模式，你能做到吗？

{
  "type": "function",
  "function": {
    "name": "control_device",
    "description": "Simulate basic device control commands.",
    "parameters": {
      "properties": {
        "device": {
          "description": "Device identifier to control.",
          "examples": [
            "air_purifier",
            "smart_plug_1"
          ],
          "type": "string"
        },
        "action": {
          "description": "Action to perform (power_on, power_off, set_mode).",
          "examples": [
            "power_on",
            "power_off",
            "set_mode"
          ],
          "type": "string"
        },
        "mode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional mode or setting to apply.",
          "examples": [
            "eco",
            "sleep"
          ]
        }
      },
      "required": [
        "device",
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 把客厅的 air purifier 调成省电模式就行，不用别的设置。

{
  "type": "function",
  "function": {
    "name": "control_device",
    "description": "Simulate basic device control commands.",
    "parameters": {
      "properties": {
        "device": {
          "description": "Device identifier to control.",
          "examples": [
            "air_purifier",
            "smart_plug_1"
          ],
          "type": "string"
        },
        "action": {
          "description": "Action to perform (power_on, power_off, set_mode).",
          "examples": [
            "power_on",
            "power_off",
            "set_mode"
          ],
          "type": "string"
        },
        "mode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional mode or setting to apply.",
          "examples": [
            "eco",
            "sleep"
          ]
        }
      },
      "required": [
        "device",
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 麻烦您把智能插座1打开一下，可以吗？感谢！

{
  "type": "function",
  "function": {
    "name": "control_device",
    "description": "Simulate basic device control commands.",
    "parameters": {
      "properties": {
        "device": {
          "description": "Device identifier to control.",
          "examples": [
            "air_purifier",
            "smart_plug_1"
          ],
          "type": "string"
        },
        "action": {
          "description": "Action to perform (power_on, power_off, set_mode).",
          "examples": [
            "power_on",
            "power_off",
            "set_mode"
          ],
          "type": "string"
        },
        "mode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional mode or setting to apply.",
          "examples": [
            "eco",
            "sleep"
          ]
        }
      },
      "required": [
        "device",
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 等等，先把空气净化器开了，然后切到 sleep 模式，能按顺序做吗？

{
  "type": "function",
  "function": {
    "name": "control_device",
    "description": "Simulate basic device control commands.",
    "parameters": {
      "properties": {
        "device": {
          "description": "Device identifier to control.",
          "examples": [
            "air_purifier",
            "smart_plug_1"
          ],
          "type": "string"
        },
        "action": {
          "description": "Action to perform (power_on, power_off, set_mode).",
          "examples": [
            "power_on",
            "power_off",
            "set_mode"
          ],
          "type": "string"
        },
        "mode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional mode or setting to apply.",
          "examples": [
            "eco",
            "sleep"
          ]
        }
      },
      "required": [
        "device",
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 帮我把办公室的空气净化器关掉，客户要来检查了。

{
  "type": "function",
  "function": {
    "name": "control_device",
    "description": "Simulate basic device control commands.",
    "parameters": {
      "properties": {
        "device": {
          "description": "Device identifier to control.",
          "examples": [
            "air_purifier",
            "smart_plug_1"
          ],
          "type": "string"
        },
        "action": {
          "description": "Action to perform (power_on, power_off, set_mode).",
          "examples": [
            "power_on",
            "power_off",
            "set_mode"
          ],
          "type": "string"
        },
        "mode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional mode or setting to apply.",
          "examples": [
            "eco",
            "sleep"
          ]
        }
      },
      "required": [
        "device",
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 能不能把 smart_plug_1 打开一下？我在外面。

{
  "type": "function",
  "function": {
    "name": "control_device",
    "description": "Simulate basic device control commands.",
    "parameters": {
      "properties": {
        "device": {
          "description": "Device identifier to control.",
          "examples": [
            "air_purifier",
            "smart_plug_1"
          ],
          "type": "string"
        },
        "action": {
          "description": "Action to perform (power_on, power_off, set_mode).",
          "examples": [
            "power_on",
            "power_off",
            "set_mode"
          ],
          "type": "string"
        },
        "mode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional mode or setting to apply.",
          "examples": [
            "eco",
            "sleep"
          ]
        }
      },
      "required": [
        "device",
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 请执行操作：device=air_purifier，action=power_off。

Simulate basic device control commands.

Device identifier to control.

Action to perform (power_on, power_off, set_mode).

Optional mode or setting to apply.


Question: 我不会操作，帮我把房间里的净化器关掉吧。

{
  "type": "function",
  "function": {
    "name": "control_device",
    "description": "Simulate basic device control commands.",
    "parameters": {
      "properties": {
        "device": {
          "description": "Device identifier to control.",
          "examples": [
            "air_purifier",
            "smart_plug_1"
          ],
          "type": "string"
        },
        "action": {
          "description": "Action to perform (power_on, power_off, set_mode).",
          "examples": [
            "power_on",
            "power_off",
            "set_mode"
          ],
          "type": "string"
        },
        "mode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional mode or setting to apply.",
          "examples": [
            "eco",
            "sleep"
          ]
        }
      },
      "required": [
        "device",
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 紧急，把卧室净化器立刻设为 sleep 模式！

{
  "type": "function",
  "function": {
    "name": "control_device",
    "description": "Simulate basic device control commands.",
    "parameters": {
      "properties": {
        "device": {
          "description": "Device identifier to control.",
          "examples": [
            "air_purifier",
            "smart_plug_1"
          ],
          "type": "string"
        },
        "action": {
          "description": "Action to perform (power_on, power_off, set_mode).",
          "examples": [
            "power_on",
            "power_off",
            "set_mode"
          ],
          "type": "string"
        },
        "mode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional mode or setting to apply.",
          "examples": [
            "eco",
            "sleep"
          ]
        }
      },
      "required": [
        "device",
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 今晚回家前，把空净调到 eco 模式可以吗？

{
  "type": "function",
  "function": {
    "name": "control_device",
    "description": "Simulate basic device control commands.",
    "parameters": {
      "properties": {
        "device": {
          "description": "Device identifier to control.",
          "examples": [
            "air_purifier",
            "smart_plug_1"
          ],
          "type": "string"
        },
        "action": {
          "description": "Action to perform (power_on, power_off, set_mode).",
          "examples": [
            "power_on",
            "power_off",
            "set_mode"
          ],
          "type": "string"
        },
        "mode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional mode or setting to apply.",
          "examples": [
            "eco",
            "sleep"
          ]
        }
      },
      "required": [
        "device",
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 别忘了把智能插座1关机，赶紧处理下。

{
  "type": "function",
  "function": {
    "name": "control_device",
    "description": "Simulate basic device control commands.",
    "parameters": {
      "properties": {
        "device": {
          "description": "Device identifier to control.",
          "examples": [
            "air_purifier",
            "smart_plug_1"
          ],
          "type": "string"
        },
        "action": {
          "description": "Action to perform (power_on, power_off, set_mode).",
          "examples": [
            "power_on",
            "power_off",
            "set_mode"
          ],
          "type": "string"
        },
        "mode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional mode or setting to apply.",
          "examples": [
            "eco",
            "sleep"
          ]
        }
      },
      "required": [
        "device",
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 把 heater 开一下，不需要设任何模式。

{
  "type": "function",
  "function": {
    "name": "control_device",
    "description": "Simulate basic device control commands.",
    "parameters": {
      "properties": {
        "device": {
          "description": "Device identifier to control.",
          "examples": [
            "air_purifier",
            "smart_plug_1"
          ],
          "type": "string"
        },
        "action": {
          "description": "Action to perform (power_on, power_off, set_mode).",
          "examples": [
            "power_on",
            "power_off",
            "set_mode"
          ],
          "type": "string"
        },
        "mode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional mode or setting to apply.",
          "examples": [
            "eco",
            "sleep"
          ]
        }
      },
      "required": [
        "device",
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 请在明早之前把办公室的 air_purifier 关闭，谢谢配合。

{
  "type": "function",
  "function": {
    "name": "control_device",
    "description": "Simulate basic device control commands.",
    "parameters": {
      "properties": {
        "device": {
          "description": "Device identifier to control.",
          "examples": [
            "air_purifier",
            "smart_plug_1"
          ],
          "type": "string"
        },
        "action": {
          "description": "Action to perform (power_on, power_off, set_mode).",
          "examples": [
            "power_on",
            "power_off",
            "set_mode"
          ],
          "type": "string"
        },
        "mode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional mode or setting to apply.",
          "examples": [
            "eco",
            "sleep"
          ]
        }
      },
      "required": [
        "device",
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 可以帮我把 air_purifier 关掉吗？我想节省点电。

{
  "type": "function",
  "function": {
    "name": "control_device",
    "description": "Simulate basic device control commands.",
    "parameters": {
      "properties": {
        "device": {
          "description": "Device identifier to control.",
          "examples": [
            "air_purifier",
            "smart_plug_1"
          ],
          "type": "string"
        },
        "action": {
          "description": "Action to perform (power_on, power_off, set_mode).",
          "examples": [
            "power_on",
            "power_off",
            "set_mode"
          ],
          "type": "string"
        },
        "mode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional mode or setting to apply.",
          "examples": [
            "eco",
            "sleep"
          ]
        }
      },
      "required": [
        "device",
        "action"
      ],
      "type": "object"
    }
  }
}


Question: smart_plug_1 已经开着了，帮我把它关掉并设置成 eco 模式吧。

{
  "type": "function",
  "function": {
    "name": "control_device",
    "description": "Simulate basic device control commands.",
    "parameters": {
      "properties": {
        "device": {
          "description": "Device identifier to control.",
          "examples": [
            "air_purifier",
            "smart_plug_1"
          ],
          "type": "string"
        },
        "action": {
          "description": "Action to perform (power_on, power_off, set_mode).",
          "examples": [
            "power_on",
            "power_off",
            "set_mode"
          ],
          "type": "string"
        },
        "mode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional mode or setting to apply.",
          "examples": [
            "eco",
            "sleep"
          ]
        }
      },
      "required": [
        "device",
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 把LED灯亮度调到80％

{
  "type": "function",
  "function": {
    "name": "adjust_led_brightness",
    "description": "Controls the LED light brightness. Can set a specific percentage or adjust relatively.\n\nUse this tool when the user says:\n- \"Set brightness to 80\" (action='set', value=80)\n- \"Make the light brighter\" (action='increase', value=25)\n- \"Dim the light by 10\" (action='decrease', value=10)",
    "parameters": {
      "properties": {
        "action": {
          "description": "The action to perform: 'increase' (add to current), 'decrease' (subtract from current), or 'set' (set to absolute value).",
          "enum": [
            "increase",
            "decrease",
            "set"
          ],
          "type": "string"
        },
        "value": {
          "default": 25,
          "description": "The value associated with the action. If action is 'set', this is the target brightness (0-100). If action is 'increase'/'decrease', this is the relative amount to change.",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 能把灯调亮一点吗？

{
  "type": "function",
  "function": {
    "name": "adjust_led_brightness",
    "description": "Controls the LED light brightness. Can set a specific percentage or adjust relatively.\n\nUse this tool when the user says:\n- \"Set brightness to 80\" (action='set', value=80)\n- \"Make the light brighter\" (action='increase', value=25)\n- \"Dim the light by 10\" (action='decrease', value=10)",
    "parameters": {
      "properties": {
        "action": {
          "description": "The action to perform: 'increase' (add to current), 'decrease' (subtract from current), or 'set' (set to absolute value).",
          "enum": [
            "increase",
            "decrease",
            "set"
          ],
          "type": "string"
        },
        "value": {
          "default": 25,
          "description": "The value associated with the action. If action is 'set', this is the target brightness (0-100). If action is 'increase'/'decrease', this is the relative amount to change.",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 把客厅的灯亮度设置为50%，就半亮就行

{
  "type": "function",
  "function": {
    "name": "adjust_led_brightness",
    "description": "Controls the LED light brightness. Can set a specific percentage or adjust relatively.\n\nUse this tool when the user says:\n- \"Set brightness to 80\" (action='set', value=80)\n- \"Make the light brighter\" (action='increase', value=25)\n- \"Dim the light by 10\" (action='decrease', value=10)",
    "parameters": {
      "properties": {
        "action": {
          "description": "The action to perform: 'increase' (add to current), 'decrease' (subtract from current), or 'set' (set to absolute value).",
          "enum": [
            "increase",
            "decrease",
            "set"
          ],
          "type": "string"
        },
        "value": {
          "default": 25,
          "description": "The value associated with the action. If action is 'set', this is the target brightness (0-100). If action is 'increase'/'decrease', this is the relative amount to change.",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 把灯再暗一点，降低10%

{
  "type": "function",
  "function": {
    "name": "adjust_led_brightness",
    "description": "Controls the LED light brightness. Can set a specific percentage or adjust relatively.\n\nUse this tool when the user says:\n- \"Set brightness to 80\" (action='set', value=80)\n- \"Make the light brighter\" (action='increase', value=25)\n- \"Dim the light by 10\" (action='decrease', value=10)",
    "parameters": {
      "properties": {
        "action": {
          "description": "The action to perform: 'increase' (add to current), 'decrease' (subtract from current), or 'set' (set to absolute value).",
          "enum": [
            "increase",
            "decrease",
            "set"
          ],
          "type": "string"
        },
        "value": {
          "default": 25,
          "description": "The value associated with the action. If action is 'set', this is the target brightness (0-100). If action is 'increase'/'decrease', this is the relative amount to change.",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 请将LED亮度精确设为100%，立即生效

{
  "type": "function",
  "function": {
    "name": "adjust_led_brightness",
    "description": "Controls the LED light brightness. Can set a specific percentage or adjust relatively.\n\nUse this tool when the user says:\n- \"Set brightness to 80\" (action='set', value=80)\n- \"Make the light brighter\" (action='increase', value=25)\n- \"Dim the light by 10\" (action='decrease', value=10)",
    "parameters": {
      "properties": {
        "action": {
          "description": "The action to perform: 'increase' (add to current), 'decrease' (subtract from current), or 'set' (set to absolute value).",
          "enum": [
            "increase",
            "decrease",
            "set"
          ],
          "type": "string"
        },
        "value": {
          "default": 25,
          "description": "The value associated with the action. If action is 'set', this is the target brightness (0-100). If action is 'increase'/'decrease', this is the relative amount to change.",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 我不太懂，能帮我把灯变亮吗？随意调就行

{
  "type": "function",
  "function": {
    "name": "adjust_led_brightness",
    "description": "Controls the LED light brightness. Can set a specific percentage or adjust relatively.\n\nUse this tool when the user says:\n- \"Set brightness to 80\" (action='set', value=80)\n- \"Make the light brighter\" (action='increase', value=25)\n- \"Dim the light by 10\" (action='decrease', value=10)",
    "parameters": {
      "properties": {
        "action": {
          "description": "The action to perform: 'increase' (add to current), 'decrease' (subtract from current), or 'set' (set to absolute value).",
          "enum": [
            "increase",
            "decrease",
            "set"
          ],
          "type": "string"
        },
        "value": {
          "default": 25,
          "description": "The value associated with the action. If action is 'set', this is the target brightness (0-100). If action is 'increase'/'decrease', this is the relative amount to change.",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 麻烦把灯调暗5%，谢谢

{
  "type": "function",
  "function": {
    "name": "adjust_led_brightness",
    "description": "Controls the LED light brightness. Can set a specific percentage or adjust relatively.\n\nUse this tool when the user says:\n- \"Set brightness to 80\" (action='set', value=80)\n- \"Make the light brighter\" (action='increase', value=25)\n- \"Dim the light by 10\" (action='decrease', value=10)",
    "parameters": {
      "properties": {
        "action": {
          "description": "The action to perform: 'increase' (add to current), 'decrease' (subtract from current), or 'set' (set to absolute value).",
          "enum": [
            "increase",
            "decrease",
            "set"
          ],
          "type": "string"
        },
        "value": {
          "default": 25,
          "description": "The value associated with the action. If action is 'set', this is the target brightness (0-100). If action is 'increase'/'decrease', this is the relative amount to change.",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 现在就把灯亮度增加25%，马上

{
  "type": "function",
  "function": {
    "name": "adjust_led_brightness",
    "description": "Controls the LED light brightness. Can set a specific percentage or adjust relatively.\n\nUse this tool when the user says:\n- \"Set brightness to 80\" (action='set', value=80)\n- \"Make the light brighter\" (action='increase', value=25)\n- \"Dim the light by 10\" (action='decrease', value=10)",
    "parameters": {
      "properties": {
        "action": {
          "description": "The action to perform: 'increase' (add to current), 'decrease' (subtract from current), or 'set' (set to absolute value).",
          "enum": [
            "increase",
            "decrease",
            "set"
          ],
          "type": "string"
        },
        "value": {
          "default": 25,
          "description": "The value associated with the action. If action is 'set', this is the target brightness (0-100). If action is 'increase'/'decrease', this is the relative amount to change.",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 我在手机上，帮我把书房灯调到70%

{
  "type": "function",
  "function": {
    "name": "adjust_led_brightness",
    "description": "Controls the LED light brightness. Can set a specific percentage or adjust relatively.\n\nUse this tool when the user says:\n- \"Set brightness to 80\" (action='set', value=80)\n- \"Make the light brighter\" (action='increase', value=25)\n- \"Dim the light by 10\" (action='decrease', value=10)",
    "parameters": {
      "properties": {
        "action": {
          "description": "The action to perform: 'increase' (add to current), 'decrease' (subtract from current), or 'set' (set to absolute value).",
          "enum": [
            "increase",
            "decrease",
            "set"
          ],
          "type": "string"
        },
        "value": {
          "default": 25,
          "description": "The value associated with the action. If action is 'set', this is the target brightness (0-100). If action is 'increase'/'decrease', this is the relative amount to change.",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 我要午睡，能把卧室灯调暗到30％吗？

{
  "type": "function",
  "function": {
    "name": "adjust_led_brightness",
    "description": "Controls the LED light brightness. Can set a specific percentage or adjust relatively.\n\nUse this tool when the user says:\n- \"Set brightness to 80\" (action='set', value=80)\n- \"Make the light brighter\" (action='increase', value=25)\n- \"Dim the light by 10\" (action='decrease', value=10)",
    "parameters": {
      "properties": {
        "action": {
          "description": "The action to perform: 'increase' (add to current), 'decrease' (subtract from current), or 'set' (set to absolute value).",
          "enum": [
            "increase",
            "decrease",
            "set"
          ],
          "type": "string"
        },
        "value": {
          "default": 25,
          "description": "The value associated with the action. If action is 'set', this is the target brightness (0-100). If action is 'increase'/'decrease', this is the relative amount to change.",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 刚才的亮度还是太暗，麻烦再亮15％

{
  "type": "function",
  "function": {
    "name": "adjust_led_brightness",
    "description": "Controls the LED light brightness. Can set a specific percentage or adjust relatively.\n\nUse this tool when the user says:\n- \"Set brightness to 80\" (action='set', value=80)\n- \"Make the light brighter\" (action='increase', value=25)\n- \"Dim the light by 10\" (action='decrease', value=10)",
    "parameters": {
      "properties": {
        "action": {
          "description": "The action to perform: 'increase' (add to current), 'decrease' (subtract from current), or 'set' (set to absolute value).",
          "enum": [
            "increase",
            "decrease",
            "set"
          ],
          "type": "string"
        },
        "value": {
          "default": 25,
          "description": "The value associated with the action. If action is 'set', this is the target brightness (0-100). If action is 'increase'/'decrease', this is the relative amount to change.",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 灯现在太刺眼了，能把亮度降到40％吗？

{
  "type": "function",
  "function": {
    "name": "adjust_led_brightness",
    "description": "Controls the LED light brightness. Can set a specific percentage or adjust relatively.\n\nUse this tool when the user says:\n- \"Set brightness to 80\" (action='set', value=80)\n- \"Make the light brighter\" (action='increase', value=25)\n- \"Dim the light by 10\" (action='decrease', value=10)",
    "parameters": {
      "properties": {
        "action": {
          "description": "The action to perform: 'increase' (add to current), 'decrease' (subtract from current), or 'set' (set to absolute value).",
          "enum": [
            "increase",
            "decrease",
            "set"
          ],
          "type": "string"
        },
        "value": {
          "default": 25,
          "description": "The value associated with the action. If action is 'set', this is the target brightness (0-100). If action is 'increase'/'decrease', this is the relative amount to change.",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 可以把灯的亮度调到80％吗？

{
  "type": "function",
  "function": {
    "name": "adjust_led_brightness",
    "description": "Controls the LED light brightness. Can set a specific percentage or adjust relatively.\n\nUse this tool when the user says:\n- \"Set brightness to 80\" (action='set', value=80)\n- \"Make the light brighter\" (action='increase', value=25)\n- \"Dim the light by 10\" (action='decrease', value=10)",
    "parameters": {
      "properties": {
        "action": {
          "description": "The action to perform: 'increase' (add to current), 'decrease' (subtract from current), or 'set' (set to absolute value).",
          "enum": [
            "increase",
            "decrease",
            "set"
          ],
          "type": "string"
        },
        "value": {
          "default": 25,
          "description": "The value associated with the action. If action is 'set', this is the target brightness (0-100). If action is 'increase'/'decrease', this is the relative amount to change.",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 嘿，顺手把客厅灯调高一点吧

{
  "type": "function",
  "function": {
    "name": "adjust_led_brightness",
    "description": "Controls the LED light brightness. Can set a specific percentage or adjust relatively.\n\nUse this tool when the user says:\n- \"Set brightness to 80\" (action='set', value=80)\n- \"Make the light brighter\" (action='increase', value=25)\n- \"Dim the light by 10\" (action='decrease', value=10)",
    "parameters": {
      "properties": {
        "action": {
          "description": "The action to perform: 'increase' (add to current), 'decrease' (subtract from current), or 'set' (set to absolute value).",
          "enum": [
            "increase",
            "decrease",
            "set"
          ],
          "type": "string"
        },
        "value": {
          "default": 25,
          "description": "The value associated with the action. If action is 'set', this is the target brightness (0-100). If action is 'increase'/'decrease', this is the relative amount to change.",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 把灯调得更亮一些（不需要精确数值）

{
  "type": "function",
  "function": {
    "name": "adjust_led_brightness",
    "description": "Controls the LED light brightness. Can set a specific percentage or adjust relatively.\n\nUse this tool when the user says:\n- \"Set brightness to 80\" (action='set', value=80)\n- \"Make the light brighter\" (action='increase', value=25)\n- \"Dim the light by 10\" (action='decrease', value=10)",
    "parameters": {
      "properties": {
        "action": {
          "description": "The action to perform: 'increase' (add to current), 'decrease' (subtract from current), or 'set' (set to absolute value).",
          "enum": [
            "increase",
            "decrease",
            "set"
          ],
          "type": "string"
        },
        "value": {
          "default": 25,
          "description": "The value associated with the action. If action is 'set', this is the target brightness (0-100). If action is 'increase'/'decrease', this is the relative amount to change.",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 快，把灯调亮！

{
  "type": "function",
  "function": {
    "name": "adjust_led_brightness",
    "description": "Controls the LED light brightness. Can set a specific percentage or adjust relatively.\n\nUse this tool when the user says:\n- \"Set brightness to 80\" (action='set', value=80)\n- \"Make the light brighter\" (action='increase', value=25)\n- \"Dim the light by 10\" (action='decrease', value=10)",
    "parameters": {
      "properties": {
        "action": {
          "description": "The action to perform: 'increase' (add to current), 'decrease' (subtract from current), or 'set' (set to absolute value).",
          "enum": [
            "increase",
            "decrease",
            "set"
          ],
          "type": "string"
        },
        "value": {
          "default": 25,
          "description": "The value associated with the action. If action is 'set', this is the target brightness (0-100). If action is 'increase'/'decrease', this is the relative amount to change.",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 比现在再亮20％，可以吗？

{
  "type": "function",
  "function": {
    "name": "adjust_led_brightness",
    "description": "Controls the LED light brightness. Can set a specific percentage or adjust relatively.\n\nUse this tool when the user says:\n- \"Set brightness to 80\" (action='set', value=80)\n- \"Make the light brighter\" (action='increase', value=25)\n- \"Dim the light by 10\" (action='decrease', value=10)",
    "parameters": {
      "properties": {
        "action": {
          "description": "The action to perform: 'increase' (add to current), 'decrease' (subtract from current), or 'set' (set to absolute value).",
          "enum": [
            "increase",
            "decrease",
            "set"
          ],
          "type": "string"
        },
        "value": {
          "default": 25,
          "description": "The value associated with the action. If action is 'set', this is the target brightness (0-100). If action is 'increase'/'decrease', this is the relative amount to change.",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 请将LED亮度设置为60％，非常感谢

{
  "type": "function",
  "function": {
    "name": "adjust_led_brightness",
    "description": "Controls the LED light brightness. Can set a specific percentage or adjust relatively.\n\nUse this tool when the user says:\n- \"Set brightness to 80\" (action='set', value=80)\n- \"Make the light brighter\" (action='increase', value=25)\n- \"Dim the light by 10\" (action='decrease', value=10)",
    "parameters": {
      "properties": {
        "action": {
          "description": "The action to perform: 'increase' (add to current), 'decrease' (subtract from current), or 'set' (set to absolute value).",
          "enum": [
            "increase",
            "decrease",
            "set"
          ],
          "type": "string"
        },
        "value": {
          "default": 25,
          "description": "The value associated with the action. If action is 'set', this is the target brightness (0-100). If action is 'increase'/'decrease', this is the relative amount to change.",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "action"
      ],
      "type": "object"
    }
  }
}


Question: 找一下关于猫的图片。

{
  "type": "function",
  "function": {
    "name": "search_photos",
    "description": "Search for photos or images.",
    "parameters": {
      "properties": {
        "keyword": {
          "description": "The search keyword used to find photos or images.\n            This can be descriptive text or a file name.\n            ",
          "examples": [
            "photos taken last August",
            "dog on the grass"
          ],
          "type": "string"
        }
      },
      "required": [
        "keyword"
      ],
      "type": "object"
    }
  }
}


Question: 你好，可以帮我搜索一下去年夏天在海边的照片吗？

{
  "type": "function",
  "function": {
    "name": "search_photos",
    "description": "Search for photos or images.",
    "parameters": {
      "properties": {
        "keyword": {
          "description": "The search keyword used to find photos or images.\n            This can be descriptive text or a file name.\n            ",
          "examples": [
            "photos taken last August",
            "dog on the grass"
          ],
          "type": "string"
        }
      },
      "required": [
        "keyword"
      ],
      "type": "object"
    }
  }
}


Question: 诶，帮我看看有没有小狗在草地上的照片。

{
  "type": "function",
  "function": {
    "name": "search_photos",
    "description": "Search for photos or images.",
    "parameters": {
      "properties": {
        "keyword": {
          "description": "The search keyword used to find photos or images.\n            This can be descriptive text or a file name.\n            ",
          "examples": [
            "photos taken last August",
            "dog on the grass"
          ],
          "type": "string"
        }
      },
      "required": [
        "keyword"
      ],
      "type": "object"
    }
  }
}


Question: 我想找所有关于美食的照片。

{
  "type": "function",
  "function": {
    "name": "search_photos",
    "description": "Search for photos or images.",
    "parameters": {
      "properties": {
        "keyword": {
          "description": "The search keyword used to find photos or images.\n            This can be descriptive text or a file name.\n            ",
          "examples": [
            "photos taken last August",
            "dog on the grass"
          ],
          "type": "string"
        }
      },
      "required": [
        "keyword"
      ],
      "type": "object"
    }
  }
}


Search for photos or images.

The search keyword used to find photos or images.
            This can be descriptive text or a file name.

photos taken last August
dog on the grass


Question: 我需要一些关于山脉的图片用作背景。

{
  "type": "function",
  "function": {
    "name": "search_photos",
    "description": "Search for photos or images.",
    "parameters": {
      "properties": {
        "keyword": {
          "description": "The search keyword used to find photos or images.\n            This can be descriptive text or a file name.\n            ",
          "examples": [
            "photos taken last August",
            "dog on the grass"
          ],
          "type": "string"
        }
      },
      "required": [
        "keyword"
      ],
      "type": "object"
    }
  }
}


Question: 翻一下相册，看看我上个月拍的照片。

{
  "type": "function",
  "function": {
    "name": "search_photos",
    "description": "Search for photos or images.",
    "parameters": {
      "properties": {
        "keyword": {
          "description": "The search keyword used to find photos or images.\n            This can be descriptive text or a file name.\n            ",
          "examples": [
            "photos taken last August",
            "dog on the grass"
          ],
          "type": "string"
        }
      },
      "required": [
        "keyword"
      ],
      "type": "object"
    }
  }
}


Question: 有没有关于星空的照片？

{
  "type": "function",
  "function": {
    "name": "search_photos",
    "description": "Search for photos or images.",
    "parameters": {
      "properties": {
        "keyword": {
          "description": "The search keyword used to find photos or images.\n            This can be descriptive text or a file name.\n            ",
          "examples": [
            "photos taken last August",
            "dog on the grass"
          ],
          "type": "string"
        }
      },
      "required": [
        "keyword"
      ],
      "type": "object"
    }
  }
}


Question: 给我筛选出所有在巴厘岛拍的照片。

{
  "type": "function",
  "function": {
    "name": "search_photos",
    "description": "Search for photos or images.",
    "parameters": {
      "properties": {
        "keyword": {
          "description": "The search keyword used to find photos or images.\n            This can be descriptive text or a file name.\n            ",
          "examples": [
            "photos taken last August",
            "dog on the grass"
          ],
          "type": "string"
        }
      },
      "required": [
        "keyword"
      ],
      "type": "object"
    }
  }
}


Question: 我想看看我家宝宝的所有照片。

{
  "type": "function",
  "function": {
    "name": "search_photos",
    "description": "Search for photos or images.",
    "parameters": {
      "properties": {
        "keyword": {
          "description": "The search keyword used to find photos or images.\n            This can be descriptive text or a file name.\n            ",
          "examples": [
            "photos taken last August",
            "dog on the grass"
          ],
          "type": "string"
        }
      },
      "required": [
        "keyword"
      ],
      "type": "object"
    }
  }
}


Question: 搜索图片，关键词是：东京夜景。

{
  "type": "function",
  "function": {
    "name": "search_photos",
    "description": "Search for photos or images.",
    "parameters": {
      "properties": {
        "keyword": {
          "description": "The search keyword used to find photos or images.\n            This can be descriptive text or a file name.\n            ",
          "examples": [
            "photos taken last August",
            "dog on the grass"
          ],
          "type": "string"
        }
      },
      "required": [
        "keyword"
      ],
      "type": "object"
    }
  }
}


Question: 我记不清了，但是是关于一辆红色汽车的图片，能找到吗？

{
  "type": "function",
  "function": {
    "name": "search_photos",
    "description": "Search for photos or images.",
    "parameters": {
      "properties": {
        "keyword": {
          "description": "The search keyword used to find photos or images.\n            This can be descriptive text or a file name.\n            ",
          "examples": [
            "photos taken last August",
            "dog on the grass"
          ],
          "type": "string"
        }
      },
      "required": [
        "keyword"
      ],
      "type": "object"
    }
  }
}


Question: 那再帮我找找所有家庭聚会的照片吧。

{
  "type": "function",
  "function": {
    "name": "search_photos",
    "description": "Search for photos or images.",
    "parameters": {
      "properties": {
        "keyword": {
          "description": "The search keyword used to find photos or images.\n            This can be descriptive text or a file name.\n            ",
          "examples": [
            "photos taken last August",
            "dog on the grass"
          ],
          "type": "string"
        }
      },
      "required": [
        "keyword"
      ],
      "type": "object"
    }
  }
}


Question: 显示一下2022年拍的所有照片。

{
  "type": "function",
  "function": {
    "name": "search_photos",
    "description": "Search for photos or images.",
    "parameters": {
      "properties": {
        "keyword": {
          "description": "The search keyword used to find photos or images.\n            This can be descriptive text or a file name.\n            ",
          "examples": [
            "photos taken last August",
            "dog on the grass"
          ],
          "type": "string"
        }
      },
      "required": [
        "keyword"
      ],
      "type": "object"
    }
  }
}


Question: 我想找一张图片，内容是日落时分的沙滩。

{
  "type": "function",
  "function": {
    "name": "search_photos",
    "description": "Search for photos or images.",
    "parameters": {
      "properties": {
        "keyword": {
          "description": "The search keyword used to find photos or images.\n            This can be descriptive text or a file name.\n            ",
          "examples": [
            "photos taken last August",
            "dog on the grass"
          ],
          "type": "string"
        }
      },
      "required": [
        "keyword"
      ],
      "type": "object"
    }
  }
}


Question: 查一下我的相册里有没有花的特写。

{
  "type": "function",
  "function": {
    "name": "search_photos",
    "description": "Search for photos or images.",
    "parameters": {
      "properties": {
        "keyword": {
          "description": "The search keyword used to find photos or images.\n            This can be descriptive text or a file name.\n            ",
          "examples": [
            "photos taken last August",
            "dog on the grass"
          ],
          "type": "string"
        }
      },
      "required": [
        "keyword"
      ],
      "type": "object"
    }
  }
}


Question: 怎么搜照片啊？比如搜“生日派对”的。

{
  "type": "function",
  "function": {
    "name": "search_photos",
    "description": "Search for photos or images.",
    "parameters": {
      "properties": {
        "keyword": {
          "description": "The search keyword used to find photos or images.\n            This can be descriptive text or a file name.\n            ",
          "examples": [
            "photos taken last August",
            "dog on the grass"
          ],
          "type": "string"
        }
      },
      "required": [
        "keyword"
      ],
      "type": "object"
    }
  }
}


Question: 把上次去露营的照片都找出来给我。

{
  "type": "function",
  "function": {
    "name": "search_photos",
    "description": "Search for photos or images.",
    "parameters": {
      "properties": {
        "keyword": {
          "description": "The search keyword used to find photos or images.\n            This can be descriptive text or a file name.\n            ",
          "examples": [
            "photos taken last August",
            "dog on the grass"
          ],
          "type": "string"
        }
      },
      "required": [
        "keyword"
      ],
      "type": "object"
    }
  }
}


Question: 北京天气怎么样？

{
  "type": "function",
  "function": {
    "name": "get_weather",
    "description": "Retrieve a mock weather report for a given location.",
    "parameters": {
      "properties": {
        "location": {
          "description": "The location to get weather for.",
          "examples": [
            "Shanghai",
            "Beijing",
            "Shenzhen"
          ],
          "type": "string"
        }
      },
      "required": [
        "location"
      ],
      "type": "object"
    }
  }
}


Question: 查一下上海的天气。

{
  "type": "function",
  "function": {
    "name": "get_weather",
    "description": "Retrieve a mock weather report for a given location.",
    "parameters": {
      "properties": {
        "location": {
          "description": "The location to get weather for.",
          "examples": [
            "Shanghai",
            "Beijing",
            "Shenzhen"
          ],
          "type": "string"
        }
      },
      "required": [
        "location"
      ],
      "type": "object"
    }
  }
}


Question: 麻烦帮我看看深圳的天气预报，谢谢。

{
  "type": "function",
  "function": {
    "name": "get_weather",
    "description": "Retrieve a mock weather report for a given location.",
    "parameters": {
      "properties": {
        "location": {
          "description": "The location to get weather for.",
          "examples": [
            "Shanghai",
            "Beijing",
            "Shenzhen"
          ],
          "type": "string"
        }
      },
      "required": [
        "location"
      ],
      "type": "object"
    }
  }
}


Question: 哎，今天北京啥天儿啊？

{
  "type": "function",
  "function": {
    "name": "get_weather",
    "description": "Retrieve a mock weather report for a given location.",
    "parameters": {
      "properties": {
        "location": {
          "description": "The location to get weather for.",
          "examples": [
            "Shanghai",
            "Beijing",
            "Shenzhen"
          ],
          "type": "string"
        }
      },
      "required": [
        "location"
      ],
      "type": "object"
    }
  }
}


Question: 我想知道深圳那边的天气情况。

{
  "type": "function",
  "function": {
    "name": "get_weather",
    "description": "Retrieve a mock weather report for a given location.",
    "parameters": {
      "properties": {
        "location": {
          "description": "The location to get weather for.",
          "examples": [
            "Shanghai",
            "Beijing",
            "Shenzhen"
          ],
          "type": "string"
        }
      },
      "required": [
        "location"
      ],
      "type": "object"
    }
  }
}


Question: 上海，天气。

{
  "type": "function",
  "function": {
    "name": "get_weather",
    "description": "Retrieve a mock weather report for a given location.",
    "parameters": {
      "properties": {
        "location": {
          "description": "The location to get weather for.",
          "examples": [
            "Shanghai",
            "Beijing",
            "Shenzhen"
          ],
          "type": "string"
        }
      },
      "required": [
        "location"
      ],
      "type": "object"
    }
  }
}


Question: 我下周要去北京出差，能告诉我那里的天气吗？

{
  "type": "function",
  "function": {
    "name": "get_weather",
    "description": "Retrieve a mock weather report for a given location.",
    "parameters": {
      "properties": {
        "location": {
          "description": "The location to get weather for.",
          "examples": [
            "Shanghai",
            "Beijing",
            "Shenzhen"
          ],
          "type": "string"
        }
      },
      "required": [
        "location"
      ],
      "type": "object"
    }
  }
}


Question: 告诉我上海现在是什么天气。

{
  "type": "function",
  "function": {
    "name": "get_weather",
    "description": "Retrieve a mock weather report for a given location.",
    "parameters": {
      "properties": {
        "location": {
          "description": "The location to get weather for.",
          "examples": [
            "Shanghai",
            "Beijing",
            "Shenzhen"
          ],
          "type": "string"
        }
      },
      "required": [
        "location"
      ],
      "type": "object"
    }
  }
}


Question: 快，深圳现在天气如何？我着急出门。

{
  "type": "function",
  "function": {
    "name": "get_weather",
    "description": "Retrieve a mock weather report for a given location.",
    "parameters": {
      "properties": {
        "location": {
          "description": "The location to get weather for.",
          "examples": [
            "Shanghai",
            "Beijing",
            "Shenzhen"
          ],
          "type": "string"
        }
      },
      "required": [
        "location"
      ],
      "type": "object"
    }
  }
}


Question: 可以获取一下北京当前的气象信息吗？

{
  "type": "function",
  "function": {
    "name": "get_weather",
    "description": "Retrieve a mock weather report for a given location.",
    "parameters": {
      "properties": {
        "location": {
          "description": "The location to get weather for.",
          "examples": [
            "Shanghai",
            "Beijing",
            "Shenzhen"
          ],
          "type": "string"
        }
      },
      "required": [
        "location"
      ],
      "type": "object"
    }
  }
}


Question: 今天上海热不热？

{
  "type": "function",
  "function": {
    "name": "get_weather",
    "description": "Retrieve a mock weather report for a given location.",
    "parameters": {
      "properties": {
        "location": {
          "description": "The location to get weather for.",
          "examples": [
            "Shanghai",
            "Beijing",
            "Shenzhen"
          ],
          "type": "string"
        }
      },
      "required": [
        "location"
      ],
      "type": "object"
    }
  }
}


Question: 深圳今天会下雨吗？

{
  "type": "function",
  "function": {
    "name": "get_weather",
    "description": "Retrieve a mock weather report for a given location.",
    "parameters": {
      "properties": {
        "location": {
          "description": "The location to get weather for.",
          "examples": [
            "Shanghai",
            "Beijing",
            "Shenzhen"
          ],
          "type": "string"
        }
      },
      "required": [
        "location"
      ],
      "type": "object"
    }
  }
}


Question: 你好，请问北京今天天气如何？

{
  "type": "function",
  "function": {
    "name": "get_weather",
    "description": "Retrieve a mock weather report for a given location.",
    "parameters": {
      "properties": {
        "location": {
          "description": "The location to get weather for.",
          "examples": [
            "Shanghai",
            "Beijing",
            "Shenzhen"
          ],
          "type": "string"
        }
      },
      "required": [
        "location"
      ],
      "type": "object"
    }
  }
}


Question: 给我报一下深圳的天气。

{
  "type": "function",
  "function": {
    "name": "get_weather",
    "description": "Retrieve a mock weather report for a given location.",
    "parameters": {
      "properties": {
        "location": {
          "description": "The location to get weather for.",
          "examples": [
            "Shanghai",
            "Beijing",
            "Shenzhen"
          ],
          "type": "string"
        }
      },
      "required": [
        "location"
      ],
      "type": "object"
    }
  }
}


Question: 那上海呢？天气好不好？

{
  "type": "function",
  "function": {
    "name": "get_weather",
    "description": "Retrieve a mock weather report for a given location.",
    "parameters": {
      "properties": {
        "location": {
          "description": "The location to get weather for.",
          "examples": [
            "Shanghai",
            "Beijing",
            "Shenzhen"
          ],
          "type": "string"
        }
      },
      "required": [
        "location"
      ],
      "type": "object"
    }
  }
}


Question: 有没有办法查到北京的天气？

{
  "type": "function",
  "function": {
    "name": "get_weather",
    "description": "Retrieve a mock weather report for a given location.",
    "parameters": {
      "properties": {
        "location": {
          "description": "The location to get weather for.",
          "examples": [
            "Shanghai",
            "Beijing",
            "Shenzhen"
          ],
          "type": "string"
        }
      },
      "required": [
        "location"
      ],
      "type": "object"
    }
  }
}


Question: 准备去深圳，要不要带伞？

{
  "type": "function",
  "function": {
    "name": "get_weather",
    "description": "Retrieve a mock weather report for a given location.",
    "parameters": {
      "properties": {
        "location": {
          "description": "The location to get weather for.",
          "examples": [
            "Shanghai",
            "Beijing",
            "Shenzhen"
          ],
          "type": "string"
        }
      },
      "required": [
        "location"
      ],
      "type": "object"
    }
  }
}


Question: 上海那疙瘩天气咋样？

{
  "type": "function",
  "function": {
    "name": "get_weather",
    "description": "Retrieve a mock weather report for a given location.",
    "parameters": {
      "properties": {
        "location": {
          "description": "The location to get weather for.",
          "examples": [
            "Shanghai",
            "Beijing",
            "Shenzhen"
          ],
          "type": "string"
        }
      },
      "required": [
        "location"
      ],
      "type": "object"
    }
  }
}


Question: 播放音乐《稻香》。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 我想看电影《你好，李焕英》。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 来一首周杰伦的《七里香》。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 你好，可以帮我放一下泰勒·斯威夫特的《Love Story》吗？

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 听一下陈奕迅的《孤勇者》。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 看一下那个叫《开端》的电视剧。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 能不能播放《猫和老鼠》？

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 麻烦你，我想听一首叫《十年》的歌。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 准备开会了，请播放名为“公司全体会议”的视频。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 播放《三体》。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 现在，我要听《The Final Countdown》。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 给我点播一首五月天的《倔强》。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 那个……我想看一个叫《流浪地球》的电影，你能放吗？

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 这首歌不好听，换一个，播放林俊杰的《江南》。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 嗨，放个音乐听听，就放那个“Lo-fi beats”吧。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 我想放松一下，有没有叫“冥想音乐”的可以播放？

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 我想看最新的《黑神话：悟空》游戏演示视频。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 给我放一下《让子弹飞》这部电影。

{
  "type": "function",
  "function": {
    "name": "play_media",
    "description": "Simulate playing media on a target device.",
    "parameters": {
      "properties": {
        "media_type": {
          "description": "Type of media to play (music, video, unknown). If don't know which type, use unknown.",
          "enum": [
            "music",
            "video",
            "unknown"
          ],
          "examples": [
            "music",
            "video",
            "unknown"
          ],
          "type": "string"
        },
        "title": {
          "description": "Title or identifier of the media item.",
          "examples": [
            "Lo-fi beats",
            "Company all hands",
            "Love Story"
          ],
          "type": "string"
        }
      },
      "required": [
        "media_type",
        "title"
      ],
      "type": "object"
    }
  }
}


Question: 把空气净化器打开。

{
  "type": "function",
  "function": {
    "name": "control_device",
    "description": "Simulate basic device control commands.",
    "parameters": {
      "properties": {
        "device": {
          "description": "Device identifier to control.",
          "examples": [
            "air_purifier",
            "smart_plug_1"
          ],
          "type": "string"
        },
        "action": {
          "description": "Action to perform (power_on, power_off, set_mode).",
          "examples": [
            "power_on",
            "power_off",
            "set_mode"
          ],
          "type": "string"
        },
        "mode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional mode or setting to apply.",
          "examples": [
            "eco",
            "sleep"
          ]
        }
      },
      "required": [
        "device",
        "action"
      ],
      "type": "object"
    }
  }
}