初始提交
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"id": "fileCity",
|
||||
"name": "FileCityAgent",
|
||||
"description": "读取指定文本文件,判断并抽出有效城市名。",
|
||||
"version": "1.0.0",
|
||||
"timeoutSeconds": 120,
|
||||
"launch": {
|
||||
"command": "dotnet",
|
||||
"args": ["FileCityPlugin.dll"]
|
||||
},
|
||||
"credentials": [
|
||||
{
|
||||
"name": "llm",
|
||||
"type": "openai-compatible",
|
||||
"required": true,
|
||||
"description": "由宿主注入 OpenAI 兼容的 endpoint / apiKey / model,不要写进本文件。"
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"name": "filePath",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "本地文件路径,例如 Data/cities.txt"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{ "name": "hasValidCities", "type": "bool", "description": "是否存在有效城市" },
|
||||
{ "name": "cities", "type": "string[]", "description": "有效城市名列表" },
|
||||
{ "name": "reason", "type": "string", "description": "判断说明" },
|
||||
{ "name": "raw", "type": "string", "description": "Agent 原始文本" }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user