Files
MAF1/Plugins/weather/plugin.json
T

31 lines
715 B
JSON
Raw Normal View History

2026-08-26 18:06:02 +08:00
{
"id": "weather",
"name": "WeatherAgent",
"description": "按城市列表查询天气并汇总。",
"version": "1.0.0",
"timeoutSeconds": 180,
"launch": {
"command": "dotnet",
"args": ["WeatherPlugin.dll"]
},
"credentials": [
{
"name": "llm",
"type": "openai-compatible",
"required": true,
"description": "由宿主注入 OpenAI 兼容的 endpoint / apiKey / model,不要写进本文件。"
}
],
"inputs": [
{
"name": "cities",
"type": "string[]",
"required": true,
"description": "要查询的城市名列表"
}
],
"outputs": [
{ "name": "summary", "type": "string", "description": "天气汇总文本" }
]
}