mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2024-11-30 17:24:54 +08:00
39 lines
1.0 KiB
JSON
39 lines
1.0 KiB
JSON
[
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "marshoai-basic__get_weather",
|
|
"description": "当你想查询指定城市的天气时非常有用。",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"location": {
|
|
"type": "string",
|
|
"description": "城市或县区,比如北京市、杭州市、余杭区等。"
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"location"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "marshoai-basic__get_current_env",
|
|
"description": "获取当前的运行环境。",
|
|
"parameters": {
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "marshoai-basic__get_current_time",
|
|
"description": "获取现在的时间。",
|
|
"parameters": {
|
|
}
|
|
}
|
|
}
|
|
] |