{
    "description": "高德地图API桥接",
    "version": "v1",
    "tools": [
      {
        "name": "amap-weather-query",
        "type": "api",
        "endpoint": "https://restapi.amap.com/v3/weather/weatherInfo?key=${api_key}&city=${citycode}&extensions=all",
        "method": "GET",
        "description": "查询高德地图天气信息",
        "inputSchema": {
          "type": "object",
          "properties": {
            "citycode": {
              "type": "string",
              "description": "城市代码",
              "default": "110000"
            },
            "api_key": {
              "type": "string",
              "description": "高德开放平台API Key"
            },
            "extensions": {
              "type": "string",
              "enum": ["base", "all"],
              "default": "base",
              "description": "气象类型，可选值：base（实时天气），all（预报天气）"
            },
            "output": {
              "type": "string",
              "enum": ["JSON", "XML"],
              "default": "JSON",
              "description": "返回数据格式类型"
            }
          },
          "required": ["citycode", "api_key"]
        }
      },
      {
        "name": "amap-ip-location",
        "type": "api",
        "endpoint": "https://restapi.amap.com/v3/ip?Key=${api_key}&ip=${ip}",
        "method": "GET",
        "description": "高德地图IP定位",
        "inputSchema": {
          "type": "object",
          "properties": {
            "ip": {
              "type": "string",
              "description": "需要定位的IP地址"
            },
            "api_key": {
              "type": "string",
              "description": "高德开放平台API Key"
            },
            "output": {
              "type": "string",
              "enum": ["JSON", "XML"],
              "default": "JSON",
              "description": "返回数据格式类型"
            }
          },
          "required": ["ip", "api_key"]
        }
      }
    ]
  }