跳至主要内容
小龙虾小龙虾AI
🤖

Gaode-Map-skills

Interact with Gaode Map API to search places and plan routes using driving, walking, bicycling, or transit modes with optional city context.

下载715
星标2
版本1.0.0
搜索研究
安全通过
💬Prompt

技能说明


name: gaode_map description: A skill to interact with Gaode Map (AMap) for location search and route planning. metadata: openclaw: requires: env: ["AMAP_API_KEY"] bins: ["python"]

Gaode Map Skill

This skill allows you to search for places and plan routes using Gaode Map (AMap) API.

Usage

You can use the amap_tool.py script to perform actions. The API Key is expected to be in the AMAP_API_KEY environment variable.

Place Search

Search for POIs (Points of Interest).

Command:

python amap_tool.py search --keywords "<keywords>" [--city "<city>"]

Parameters:

  • keywords: The search query (e.g., "restaurants", "gas station").
  • city: (Optional) The city to search in.

Route Planning

Plan a route between two locations.

Command:

python amap_tool.py route --origin "<origin>" --destination "<destination>" [--mode "<mode>"] [--city "<city>"]

Parameters:

  • origin: Start location (address or coordinates "lon,lat").
  • destination: End location (address or coordinates "lon,lat").
  • mode: (Optional) Route mode: driving (default), walking, bicycling, transit.
  • city: (Optional) City name (required for transit mode, or to help geocoding).

Examples

User: "Find coffee shops in Shanghai." Action:

python amap_tool.py search --keywords "coffee shop" --city "Shanghai"

User: "Show me the driving route from Beijing West Station to the Forbidden City." Action:

python amap_tool.py route --origin "Beijing West Station" --destination "Forbidden City" --mode "driving" --city "Beijing"

如何使用「Gaode-Map-skills」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Gaode-Map-skills」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能