{
  // 工具名称
  "name": "get_agent_skills",
  // 工具标题(显示的中文名)
  "title": "获取智能体的技能列表",
  // 工具描述
  "description": "查询智能体已掌握的技能列表。在确认没有干系人可委托后，调用此工具查看自己有没有合适的技能来完成工作。",
  // 工具分类
  "category": "技能管理",
  // 工具分组
  "group": "skill",
  // 工具类型, 默认为"function"
  "type": "function",
  // 工具主文件路径
  "main": "./index.js",
  // 工具参数，必要配置，让AI知道需要哪些参数
  "params": [
    {
      "name": "agent_name",
      "description": "智能体名称(英文名, 唯一标识)",
      "type": "string",
      "required": true
    },
    {
      "name": "skill_type",
      "description": "技能类型，可选值。默认值为known，即查询已掌握的技能列表；required表示查询需要掌握的技能列表；all表示查询已掌握和需要掌握的技能列表。",
      "type": "string",
      "default": "known",
      "enum": [
        "all",
        "known",
        "required"
      ]
    }
  ],
  "returns": [
    {
      "name": "known_skills",
      "description": "智能体已掌握的技能列表，每个成员为一个对象，对象包含智能体已掌握的技能。",
      "type": "array",
      "items": {
        "type": "object",
        "description": "技能对象",
        "properties": {
          "name": {
            "type": "string",
            "description": "技能名称(英文名, 唯一标识)"
          },
          "title": {
            "type": "string",
            "description": "技能标题(中文名)"
          },
          "description": {
            "type": "string",
            "description": "技能描述"
          }
        }
      }
    },
    {
      "name": "required_skills",
      "description": "智能体需要掌握的技能列表，每个成员为一个对象，对象包含智能体需要掌握的技能。",
      "type": "array",
      "items": {
        "type": "object",
        "description": "技能对象",
        "properties": {
          "name": {
            "type": "string",
            "description": "技能名称(英文名, 唯一标识)"
          },
          "title": {
            "type": "string",
            "description": "技能标题(中文名)"
          },
          "why": {
            "type": "string",
            "description": "为什么需要掌握该技能的原因"
          }
        }
      }
    }
  ]
}
