{
  "service": "amap",
  "displayName": "AMap",
  "categories": [
    "Location"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Key",
      "placeholder": "amap_api_key",
      "description": "AMap API key sent as the key query parameter. Create it in the AMap Open Platform console: https://lbs.amap.com/api/webservice/guide/create-project/get-key .",
      "extraFields": []
    }
  ],
  "homepageUrl": "https://www.amap.com",
  "actions": [
    {
      "id": "amap.district_search",
      "service": "amap",
      "name": "district_search",
      "description": "Search administrative districts.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "keywords": {
            "type": "string",
            "description": "The district search keywords."
          },
          "subDistrict": {
            "type": "integer",
            "description": "The subdistrict depth."
          },
          "extensions": {
            "type": "string",
            "description": "The requested response detail level."
          },
          "page": {
            "type": "integer",
            "description": "The page number to fetch."
          },
          "offset": {
            "type": "integer",
            "description": "The result offset."
          },
          "filter": {
            "type": "string",
            "description": "The optional filter expression."
          }
        },
        "additionalProperties": false,
        "required": [
          "keywords"
        ],
        "description": "The input parameters for district search."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "count": {
            "type": "string",
            "description": "The total number of matching districts."
          },
          "districts": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "A JSON-like object with arbitrary string keys."
            },
            "description": "The matching districts."
          }
        },
        "additionalProperties": false,
        "required": [
          "districts"
        ],
        "description": "The response payload returned by the district search action."
      }
    },
    {
      "id": "amap.geocode",
      "service": "amap",
      "name": "geocode",
      "description": "Convert an address to coordinates.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string",
            "description": "The address to geocode."
          },
          "city": {
            "type": "string",
            "description": "The city used to narrow the geocode lookup."
          }
        },
        "additionalProperties": false,
        "required": [
          "address"
        ],
        "description": "The input parameters for geocoding an address."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "geocodes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "formattedAddress": {
                  "type": "string",
                  "description": "The formatted address."
                },
                "country": {
                  "type": "string",
                  "description": "The country name."
                },
                "province": {
                  "type": "string",
                  "description": "The province or state name."
                },
                "city": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "A single string value."
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value in the list."
                      },
                      "description": "A list of string values."
                    }
                  ],
                  "description": "A string or an array of strings."
                },
                "district": {
                  "type": "string",
                  "description": "The district or county name."
                },
                "adcode": {
                  "type": "string",
                  "description": "The administrative code."
                },
                "location": {
                  "type": "string",
                  "description": "The coordinate string."
                }
              },
              "additionalProperties": false,
              "description": "A geocoding result entry."
            },
            "description": "The list of geocoding results."
          }
        },
        "additionalProperties": false,
        "description": "The response payload returned by the geocode action."
      }
    },
    {
      "id": "amap.get_place_detail",
      "service": "amap",
      "name": "get_place_detail",
      "description": "Get place details by id.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The place identifier."
          },
          "showFields": {
            "type": "string",
            "description": "The requested output fields."
          }
        },
        "additionalProperties": false,
        "required": [
          "id"
        ],
        "description": "The input parameters for fetching place details."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "pois": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The point of interest identifier."
                },
                "name": {
                  "type": "string",
                  "description": "The point of interest name."
                },
                "type": {
                  "type": "string",
                  "description": "The point of interest type."
                },
                "typecode": {
                  "type": "string",
                  "description": "The type code."
                },
                "address": {
                  "type": "string",
                  "description": "The formatted address."
                },
                "location": {
                  "type": "string",
                  "description": "The coordinate string."
                },
                "pname": {
                  "type": "string",
                  "description": "The province name."
                },
                "cityname": {
                  "type": "string",
                  "description": "The city name."
                },
                "adname": {
                  "type": "string",
                  "description": "The district or area name."
                }
              },
              "additionalProperties": false,
              "description": "A point of interest record."
            },
            "description": "The place detail records."
          }
        },
        "additionalProperties": false,
        "description": "The response payload returned by the place detail action."
      }
    },
    {
      "id": "amap.input_tips",
      "service": "amap",
      "name": "input_tips",
      "description": "Get input tips by keywords.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "keywords": {
            "type": "string",
            "description": "The keywords used to search tips."
          },
          "type": {
            "type": "string",
            "description": "The optional category filter."
          },
          "location": {
            "type": "string",
            "description": "The optional location bias."
          },
          "city": {
            "type": "string",
            "description": "The optional city filter."
          },
          "cityLimit": {
            "type": "boolean",
            "description": "Whether to limit results to the specified city."
          },
          "dataType": {
            "type": "string",
            "description": "The optional data type filter."
          }
        },
        "additionalProperties": false,
        "required": [
          "keywords"
        ],
        "description": "The input parameters for fetching input tips."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "tips": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "A JSON-like object with arbitrary string keys."
            },
            "description": "The returned tip records."
          }
        },
        "additionalProperties": false,
        "description": "The response payload returned by the input tips action."
      }
    },
    {
      "id": "amap.ip_locate",
      "service": "amap",
      "name": "ip_locate",
      "description": "Locate by IP address.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "ip": {
            "type": "string",
            "description": "The IP address to locate."
          }
        },
        "additionalProperties": false,
        "description": "The input parameters for IP geolocation."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "province": {
            "type": "string",
            "description": "The province or state name."
          },
          "city": {
            "type": "string",
            "description": "The city name."
          },
          "adcode": {
            "type": "string",
            "description": "The administrative code."
          },
          "rectangle": {
            "type": "string",
            "description": "The bounding rectangle string."
          }
        },
        "additionalProperties": false,
        "description": "The response payload returned by the IP locate action."
      }
    },
    {
      "id": "amap.reverse_geocode",
      "service": "amap",
      "name": "reverse_geocode",
      "description": "Convert coordinates to an address.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "location": {
            "type": "string",
            "description": "The coordinates to reverse geocode."
          },
          "radius": {
            "type": "integer",
            "description": "The search radius in meters."
          },
          "extensions": {
            "type": "string",
            "enum": [
              "base",
              "all"
            ],
            "description": "The requested response detail level."
          },
          "roadLevel": {
            "type": "integer",
            "description": "The road level filter."
          }
        },
        "additionalProperties": false,
        "required": [
          "location"
        ],
        "description": "The input parameters for reverse geocoding coordinates."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "formattedAddress": {
            "type": "string",
            "description": "The formatted address."
          },
          "addressComponent": {
            "type": "object",
            "additionalProperties": true,
            "description": "A JSON-like object with arbitrary string keys."
          },
          "pois": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "A JSON-like object with arbitrary string keys."
            },
            "description": "The nearby points of interest."
          },
          "roads": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "A JSON-like object with arbitrary string keys."
            },
            "description": "The nearby roads."
          },
          "roadinters": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "A JSON-like object with arbitrary string keys."
            },
            "description": "The nearby road intersections."
          },
          "aois": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "A JSON-like object with arbitrary string keys."
            },
            "description": "The nearby areas of interest."
          }
        },
        "additionalProperties": false,
        "required": [
          "pois",
          "roads",
          "roadinters",
          "aois"
        ],
        "description": "The response payload returned by the reverse geocode action."
      }
    },
    {
      "id": "amap.route_bicycling",
      "service": "amap",
      "name": "route_bicycling",
      "description": "Plan a bicycling route.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "origin": {
            "type": "string",
            "description": "The route origin."
          },
          "destination": {
            "type": "string",
            "description": "The route destination."
          },
          "alternativeRoute": {
            "type": "string",
            "description": "The optional alternative route mode."
          },
          "showFields": {
            "type": "string",
            "description": "The requested output fields."
          }
        },
        "additionalProperties": false,
        "required": [
          "origin",
          "destination"
        ],
        "description": "The input parameters for planning a bicycling route."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "route": {
            "type": "object",
            "properties": {
              "origin": {
                "type": "string",
                "description": "The route origin."
              },
              "destination": {
                "type": "string",
                "description": "The route destination."
              },
              "paths": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "distance": {
                      "type": "string",
                      "description": "The route distance."
                    },
                    "steps": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true,
                        "description": "A JSON-like object with arbitrary string keys."
                      },
                      "description": "The route steps."
                    },
                    "cost": {
                      "type": "object",
                      "properties": {
                        "duration": {
                          "type": "string",
                          "description": "The estimated duration."
                        }
                      },
                      "additionalProperties": false,
                      "description": "The cost summary for the route path."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "steps"
                  ],
                  "description": "A single route path entry."
                },
                "description": "The available route paths."
              }
            },
            "additionalProperties": false,
            "required": [
              "paths"
            ],
            "description": "The route summary returned by the API."
          }
        },
        "additionalProperties": false,
        "description": "The response payload returned by the simple route actions."
      }
    },
    {
      "id": "amap.route_driving",
      "service": "amap",
      "name": "route_driving",
      "description": "Plan a driving route.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "origin": {
            "type": "string",
            "description": "The route origin."
          },
          "destination": {
            "type": "string",
            "description": "The route destination."
          },
          "waypoints": {
            "type": "string",
            "description": "The optional waypoint list."
          },
          "strategy": {
            "type": "string",
            "description": "The optional routing strategy."
          },
          "plate": {
            "type": "string",
            "description": "The optional license plate."
          },
          "carType": {
            "type": "string",
            "description": "The optional car type."
          },
          "avoidPolygons": {
            "type": "string",
            "description": "The optional avoid polygon list."
          },
          "showFields": {
            "type": "string",
            "description": "The requested output fields."
          }
        },
        "additionalProperties": false,
        "required": [
          "origin",
          "destination"
        ],
        "description": "The input parameters for planning a driving route."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "route": {
            "type": "object",
            "properties": {
              "origin": {
                "type": "string",
                "description": "The route origin."
              },
              "destination": {
                "type": "string",
                "description": "The route destination."
              },
              "taxi_cost": {
                "type": "string",
                "description": "The estimated taxi cost."
              },
              "paths": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "A JSON-like object with arbitrary string keys."
                },
                "description": "The available driving paths."
              }
            },
            "additionalProperties": false,
            "required": [
              "paths"
            ],
            "description": "The route summary returned by the driving route API."
          }
        },
        "additionalProperties": false,
        "description": "The response payload returned by the driving route action."
      }
    },
    {
      "id": "amap.route_electrobike",
      "service": "amap",
      "name": "route_electrobike",
      "description": "Plan an electric bike route.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "origin": {
            "type": "string",
            "description": "The route origin."
          },
          "destination": {
            "type": "string",
            "description": "The route destination."
          },
          "showFields": {
            "type": "string",
            "description": "The requested output fields."
          }
        },
        "additionalProperties": false,
        "required": [
          "origin",
          "destination"
        ],
        "description": "The input parameters for planning a walking route."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "route": {
            "type": "object",
            "properties": {
              "origin": {
                "type": "string",
                "description": "The route origin."
              },
              "destination": {
                "type": "string",
                "description": "The route destination."
              },
              "paths": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "distance": {
                      "type": "string",
                      "description": "The route distance."
                    },
                    "steps": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true,
                        "description": "A JSON-like object with arbitrary string keys."
                      },
                      "description": "The route steps."
                    },
                    "cost": {
                      "type": "object",
                      "properties": {
                        "duration": {
                          "type": "string",
                          "description": "The estimated duration."
                        }
                      },
                      "additionalProperties": false,
                      "description": "The cost summary for the route path."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "steps"
                  ],
                  "description": "A single route path entry."
                },
                "description": "The available route paths."
              }
            },
            "additionalProperties": false,
            "required": [
              "paths"
            ],
            "description": "The route summary returned by the API."
          }
        },
        "additionalProperties": false,
        "description": "The response payload returned by the simple route actions."
      }
    },
    {
      "id": "amap.route_transit",
      "service": "amap",
      "name": "route_transit",
      "description": "Plan a transit route.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "origin": {
            "type": "string",
            "description": "The route origin."
          },
          "destination": {
            "type": "string",
            "description": "The route destination."
          },
          "originCity": {
            "type": "string",
            "description": "The origin city."
          },
          "destinationCity": {
            "type": "string",
            "description": "The destination city."
          },
          "strategy": {
            "type": "string",
            "description": "The optional routing strategy."
          },
          "nightFlag": {
            "type": "string",
            "description": "The optional night transit flag."
          },
          "showFields": {
            "type": "string",
            "description": "The requested output fields."
          }
        },
        "additionalProperties": false,
        "required": [
          "origin",
          "destination",
          "originCity",
          "destinationCity"
        ],
        "description": "The input parameters for planning a transit route."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "route": {
            "type": "object",
            "properties": {
              "origin": {
                "type": "string",
                "description": "The route origin."
              },
              "destination": {
                "type": "string",
                "description": "The route destination."
              },
              "cost": {
                "type": "object",
                "additionalProperties": true,
                "description": "A JSON-like object with arbitrary string keys."
              },
              "transits": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "A JSON-like object with arbitrary string keys."
                },
                "description": "The available transit options."
              }
            },
            "additionalProperties": false,
            "required": [
              "transits"
            ],
            "description": "The route summary returned by the transit route API."
          }
        },
        "additionalProperties": false,
        "description": "The response payload returned by the transit route action."
      }
    },
    {
      "id": "amap.route_walking",
      "service": "amap",
      "name": "route_walking",
      "description": "Plan a walking route.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "origin": {
            "type": "string",
            "description": "The route origin."
          },
          "destination": {
            "type": "string",
            "description": "The route destination."
          },
          "showFields": {
            "type": "string",
            "description": "The requested output fields."
          }
        },
        "additionalProperties": false,
        "required": [
          "origin",
          "destination"
        ],
        "description": "The input parameters for planning a walking route."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "route": {
            "type": "object",
            "properties": {
              "origin": {
                "type": "string",
                "description": "The route origin."
              },
              "destination": {
                "type": "string",
                "description": "The route destination."
              },
              "paths": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "distance": {
                      "type": "string",
                      "description": "The route distance."
                    },
                    "steps": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true,
                        "description": "A JSON-like object with arbitrary string keys."
                      },
                      "description": "The route steps."
                    },
                    "cost": {
                      "type": "object",
                      "properties": {
                        "duration": {
                          "type": "string",
                          "description": "The estimated duration."
                        }
                      },
                      "additionalProperties": false,
                      "description": "The cost summary for the route path."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "steps"
                  ],
                  "description": "A single route path entry."
                },
                "description": "The available route paths."
              }
            },
            "additionalProperties": false,
            "required": [
              "paths"
            ],
            "description": "The route summary returned by the API."
          }
        },
        "additionalProperties": false,
        "description": "The response payload returned by the simple route actions."
      }
    },
    {
      "id": "amap.search_places",
      "service": "amap",
      "name": "search_places",
      "description": "Search places by keyword.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "keywords": {
            "type": "string",
            "description": "The keywords used to search places."
          },
          "region": {
            "type": "string",
            "description": "The optional region filter."
          },
          "cityLimit": {
            "type": "boolean",
            "description": "Whether to limit results to the region."
          },
          "types": {
            "type": "string",
            "description": "The optional place type filter."
          },
          "pageNum": {
            "type": "integer",
            "description": "The page number to fetch."
          },
          "pageSize": {
            "type": "integer",
            "description": "The page size to fetch."
          },
          "showFields": {
            "type": "string",
            "description": "The requested output fields."
          }
        },
        "additionalProperties": false,
        "required": [
          "keywords"
        ],
        "description": "The input parameters for searching places by keyword."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "count": {
            "type": "string",
            "description": "The total number of matching points of interest."
          },
          "pois": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The point of interest identifier."
                },
                "name": {
                  "type": "string",
                  "description": "The point of interest name."
                },
                "type": {
                  "type": "string",
                  "description": "The point of interest type."
                },
                "typecode": {
                  "type": "string",
                  "description": "The type code."
                },
                "address": {
                  "type": "string",
                  "description": "The formatted address."
                },
                "location": {
                  "type": "string",
                  "description": "The coordinate string."
                },
                "pname": {
                  "type": "string",
                  "description": "The province name."
                },
                "cityname": {
                  "type": "string",
                  "description": "The city name."
                },
                "adname": {
                  "type": "string",
                  "description": "The district or area name."
                }
              },
              "additionalProperties": false,
              "description": "A point of interest record."
            },
            "description": "The matching points of interest."
          }
        },
        "additionalProperties": false,
        "required": [
          "pois"
        ],
        "description": "The response payload returned by the place search actions."
      }
    },
    {
      "id": "amap.search_places_around",
      "service": "amap",
      "name": "search_places_around",
      "description": "Search places around a location.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "location": {
            "type": "string",
            "description": "The center coordinate for the search."
          },
          "radius": {
            "type": "integer",
            "description": "The search radius in meters."
          },
          "keywords": {
            "type": "string",
            "description": "The optional keyword filter."
          },
          "types": {
            "type": "string",
            "description": "The optional place type filter."
          },
          "sortRule": {
            "type": "string",
            "description": "The optional sort rule."
          },
          "pageNum": {
            "type": "integer",
            "description": "The page number to fetch."
          },
          "pageSize": {
            "type": "integer",
            "description": "The page size to fetch."
          },
          "showFields": {
            "type": "string",
            "description": "The requested output fields."
          }
        },
        "additionalProperties": false,
        "required": [
          "location"
        ],
        "description": "The input parameters for searching places around a location."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "count": {
            "type": "string",
            "description": "The total number of matching points of interest."
          },
          "pois": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The point of interest identifier."
                },
                "name": {
                  "type": "string",
                  "description": "The point of interest name."
                },
                "type": {
                  "type": "string",
                  "description": "The point of interest type."
                },
                "typecode": {
                  "type": "string",
                  "description": "The type code."
                },
                "address": {
                  "type": "string",
                  "description": "The formatted address."
                },
                "location": {
                  "type": "string",
                  "description": "The coordinate string."
                },
                "pname": {
                  "type": "string",
                  "description": "The province name."
                },
                "cityname": {
                  "type": "string",
                  "description": "The city name."
                },
                "adname": {
                  "type": "string",
                  "description": "The district or area name."
                }
              },
              "additionalProperties": false,
              "description": "A point of interest record."
            },
            "description": "The matching points of interest."
          }
        },
        "additionalProperties": false,
        "required": [
          "pois"
        ],
        "description": "The response payload returned by the place search actions."
      }
    },
    {
      "id": "amap.search_places_polygon",
      "service": "amap",
      "name": "search_places_polygon",
      "description": "Search places inside a polygon.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "polygon": {
            "type": "string",
            "description": "The polygon used to bound the search."
          },
          "keywords": {
            "type": "string",
            "description": "The optional keyword filter."
          },
          "types": {
            "type": "string",
            "description": "The optional place type filter."
          },
          "pageNum": {
            "type": "integer",
            "description": "The page number to fetch."
          },
          "pageSize": {
            "type": "integer",
            "description": "The page size to fetch."
          },
          "showFields": {
            "type": "string",
            "description": "The requested output fields."
          }
        },
        "additionalProperties": false,
        "required": [
          "polygon"
        ],
        "description": "The input parameters for searching places inside a polygon."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "count": {
            "type": "string",
            "description": "The total number of matching points of interest."
          },
          "pois": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The point of interest identifier."
                },
                "name": {
                  "type": "string",
                  "description": "The point of interest name."
                },
                "type": {
                  "type": "string",
                  "description": "The point of interest type."
                },
                "typecode": {
                  "type": "string",
                  "description": "The type code."
                },
                "address": {
                  "type": "string",
                  "description": "The formatted address."
                },
                "location": {
                  "type": "string",
                  "description": "The coordinate string."
                },
                "pname": {
                  "type": "string",
                  "description": "The province name."
                },
                "cityname": {
                  "type": "string",
                  "description": "The city name."
                },
                "adname": {
                  "type": "string",
                  "description": "The district or area name."
                }
              },
              "additionalProperties": false,
              "description": "A point of interest record."
            },
            "description": "The matching points of interest."
          }
        },
        "additionalProperties": false,
        "required": [
          "pois"
        ],
        "description": "The response payload returned by the place search actions."
      }
    },
    {
      "id": "amap.weather",
      "service": "amap",
      "name": "weather",
      "description": "Get weather information.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "city": {
            "type": "string",
            "description": "The city to query."
          },
          "extensions": {
            "type": "string",
            "enum": [
              "base",
              "all"
            ],
            "description": "The requested response detail level."
          }
        },
        "additionalProperties": false,
        "required": [
          "city"
        ],
        "description": "The input parameters for fetching weather information."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "lives": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "A JSON-like object with arbitrary string keys."
            },
            "description": "The current weather records."
          },
          "forecasts": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "A JSON-like object with arbitrary string keys."
            },
            "description": "The forecast weather records."
          }
        },
        "additionalProperties": false,
        "description": "The response payload returned by the weather action."
      }
    }
  ]
}
