{
  // 工具名称
  "name": "get_agent_detail",
  // 工具标题(显示的中文名)
  "title": "获取智能体详情信息",
  // 工具描述
  "description": "当需要了解某个智能体能干什么，会干什么时，使用此工具。",
  // 工具分类
  "category": "智能体管理",
  // 工具分组
  "group": "agent",
  // 工具类型, 默认为"function"
  "type": "function",
  // 工具主文件路径
  "main": "./index.js",
  // 工具参数，必要配置，让AI知道需要哪些参数
  "params": [
    {
      "name": "name",
      "description": "智能体名称（英文名，唯一标识）。避免使用特殊字符或空格。避免添加_agent等后缀。",
      "type": "string",
      "required": true
    }
  ],
  // 工具返回值，非必要配置
  "returns": [
    {
      "name": "code",
      "type": "number",
      "description": "操作代码",
      "default": 0
    },
    {
      "name": "msg",
      "type": "string",
      "description": "操作消息",
      "default": ""
    },
    {
      "name": "agent",
      "type": "object",
      "description": "智能体详情信息",
      "properties": {
        "agent_dir": {
          "type": "string",
          "description": "智能体所在目录"
        },
        "name": {
          "type": "string",
          "description": "智能体名称(英文名，唯一标识)"
        },
        "title": {
          "type": "string",
          "description": "智能体标题(中文名)"
        },
        "description": {
          "type": "string",
          "description": "智能体描述"
        },
        "group": {
          "type": "string",
          "description": "智能体分组"
        },
        "type": {
          "type": "string",
          "description": "智能体类型"
        },
        "prompt_file": {
          "type": "string",
          "description": "智能体提示词文件路径"
        },
        "stakeholders": {
          "type": "object",
          "description": "智能体干系人配置",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    }
  ]
}
