返回顶部
b

baidu-maps-sse百度地图SSE

Auto-generated skill for baidu-maps-sse tools via OneKey Gateway.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
132
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

baidu-maps-sse

OneKey 网关

使用一个访问密钥即可连接多种商业API。请访问 OneKey 网关密钥 并阅读文档 OneKey MCP 路由器文档OneKey 网关文档

baidu-maps-sse 技能

通过统一访问密钥,使用 OneKey 网关访问此服务器的工具。

快速开始

设置您的 OneKey 访问密钥: bash export DEEPNLPONEKEYROUTERACCESS=YOURAPI_KEY

如果未提供密钥,脚本将回退使用演示密钥 BETATESTKEYMARCH2026。
通用设置:

  • - uniqueid:baidu-maps-sse/baidu-maps-sse
  • apiid:下列工具之一

工具


maps_geocode


将地址转换为地理坐标

参数:

  • - address(字符串,必填):需要编码的地址

mapsreversegeocode


将坐标转换为地址

参数:

  • - latitude(数字,必填):纬度坐标
  • longitude(数字,必填):经度坐标

mapssearchplaces


使用 Google Places API 搜索地点

参数:

  • - query(字符串,必填):搜索查询
  • location(对象,可选):可选的搜索中心点
  • location.latitude(数字,可选):
  • location.longitude(数字,可选):
  • radius(数字,可选):搜索半径,单位为米(最大 50000)

mapsplacedetails


获取特定地点的详细信息

参数:

  • - place_id(字符串,必填):要获取详情的地点 ID

mapsdistancematrix


计算多个起点和终点之间的行驶距离和时间

参数:

  • - origins(字符串数组,必填):起点地址或坐标数组
  • destinations(字符串数组,必填):终点地址或坐标数组
  • mode(字符串,可选):出行方式(驾车、步行、骑行、公交) 取值:driving, walking, bicycling, transit

maps_elevation


获取地球表面位置的海拔数据

参数:

  • - locations(对象数组,必填):需要获取海拔的位置数组
  • locations[].latitude(数字,必填):
  • locations[].longitude(数字,必填):

maps_directions


获取两点之间的导航路线

参数:

  • - origin(字符串,必填):起点地址或坐标
  • destination(字符串,必填):终点地址或坐标
  • mode(字符串,可选):出行方式(驾车、步行、骑行、公交) 取值:driving, walking, bicycling, transit

使用方法

命令行

maps_geocode

shell npx onekey agent baidu-maps-sse/baidu-maps-sse maps_geocode {address: Times Square, New York}

mapsreversegeocode

shell npx onekey agent baidu-maps-sse/baidu-maps-sse mapsreversegeocode {latitude: 40.758, longitude: -73.9855}

mapssearchplaces

shell npx onekey agent baidu-maps-sse/baidu-maps-sse mapssearchplaces {query: Italian restaurants, location: {latitude: 40.758, longitude: -73.9855}, radius: 500}

mapsplacedetails

shell npx onekey agent baidu-maps-sse/baidu-maps-sse mapsplacedetails {place_id: ChIJmQJIxlVYwokRLgeuocVOGVU}

mapsdistancematrix

shell npx onekey agent baidu-maps-sse/baidu-maps-sse mapsdistancematrix {origins: [Times Square, NY], destinations: [Central Park, NY], mode: driving}

maps_elevation

shell npx onekey agent baidu-maps-sse/baidu-maps-sse maps_elevation {locations: [{latitude: 36.057944, longitude: -112.125168}]}

maps_directions

shell npx onekey agent baidu-maps-sse/baidu-maps-sse maps_directions {origin: Golden Gate Bridge, destination: Ferry Building San Francisco, mode: driving}

脚本

每个工具在此文件夹中都有专用脚本:
  • - skills/baidu-maps-sse/scripts/mapsgeocode.py
  • skills/baidu-maps-sse/scripts/mapsreversegeocode.py
  • skills/baidu-maps-sse/scripts/mapssearchplaces.py
  • skills/baidu-maps-sse/scripts/mapsplacedetails.py
  • skills/baidu-maps-sse/scripts/mapsdistancematrix.py
  • skills/baidu-maps-sse/scripts/mapselevation.py
  • skills/baidu-maps-sse/scripts/maps_directions.py

示例

bash python3 scripts/.py --data {key: value}

相关 DeepNLP OneKey 网关文档

AI 智能体市场 技能市场 AI 智能体 A2Z 部署 PH AI 智能体 A2Z 基础设施 GitHub AI 智能体市场

依赖项

命令行依赖项

从 npm 安装 onekey-gateway

npm install @aiagenta2z/onekey-gateway

脚本依赖项

在运行任何脚本之前,请安装所需的 Python 包。

bash
pip install ai-agent-marketplace

或者,从 requirements 文件安装依赖项:

bash
pip install -r requirements.txt

如果包已安装,请跳过安装。

智能体规则

在执行命令行或运行 scripts/ 目录中的任何脚本之前,请确保依赖项已安装。 建议使用 onekey 命令行作为运行技能的首选方法。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 baidu-maps-sse-1776099182 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 baidu-maps-sse-1776099182 技能

通过命令行安装

skillhub install baidu-maps-sse-1776099182

下载

⬇ 下载 baidu-maps-sse v0.1.0(免费)

文件大小: 8.15 KB | 发布时间: 2026-4-14 09:38

v0.1.0 最新 2026-4-14 09:38
Initial release of baidu-maps-sse skill.

- Provides access to Baidu Maps and related geolocation tools via OneKey Gateway.
- Supports geocoding, reverse geocoding, place search, place details, distance matrix, elevation, and directions.
- Offers both CLI (npx onekey agent) and Python script usage.
- Requires OneKey Gateway API key; supports fallback demo key for testing.
- npm and pip dependencies required for respective usage methods.

Archiver·手机版·闲社网·闲社论坛·智能体自动化市场· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2026 闲社网·AI智能体论坛·AI自动化解决方案·http://xianshe.com

p2p_official_large
返回顶部