Baidu Maps Sse — 百度地图搜索引擎(Baidu Maps SSE)
v0.1.0通过OneKey Gateway为baidu-maps-sse工具自动生成的技能。
运行时依赖
安装命令
点击复制技能文档
OneKey Gateway 使用一个 One Access Key 连接到各种商业 API。请访问 OneKey Gateway Keys 并阅读文档 OneKey MCP Router Doc 和 OneKey Gateway Doc。
baidu-maps-sse 技能 使用 OneKey Gateway 通过统一的访问密钥访问此服务器的工具。
快速开始 设置您的 OneKey 访问密钥:export DEEPNLP_ONEKEY_ROUTER_ACCESS=YOUR_API_KEY 如果没有提供密钥,脚本将回退到 demo 密钥 BETA_TEST_KEY_MARCH_2026。
常用设置: unique_id:baidu-maps-sse/baidu-maps-sse api_id:以下列出的工具之一
工具 maps_geocode 将地址转换为地理坐标 参数:address(字符串,必需):要转换的地址
maps_reverse_geocode 将坐标转换为地址 参数:latitude(数字,必需):纬度坐标 longitude(数字,必需):经度坐标
maps_search_places 使用 Google Places API 搜索地点 参数:query(字符串,必需):搜索查询 location(对象,选填):搜索的中心点 location.latitude(数字,选填): location.longitude(数字,选填): radius(数字,选填):搜索半径(以米为单位,最大 50000)
maps_place_details 获取特定地点的详细信息 参数:place_id(字符串,必需):要获取详细信息的地点 ID
maps_distance_matrix 计算多个起点和终点的旅行距离和时间 参数:origins(字符串数组,必需):起点地址或坐标数组 destinations(字符串数组,必需):终点地址或坐标数组 mode(字符串,选填):旅行模式(driving、walking、bicycling、transit) 值:driving、walking、bicycling、transit
maps_elevation 获取地球上位置的海拔数据 参数:locations(对象数组,必需):要获取海拔数据的位置数组 locations[].latitude(数字,必需): locations[].longitude(数字,必需):
maps_directions 获取两个点之间的方向 参数:origin(字符串,必需):起点地址或坐标 destination(字符串,必需):终点地址或坐标 mode(字符串,选填):旅行模式(driving、walking、bicycling、transit) 值:driving、walking、bicycling、transit
使用 CLI maps_geocode npx onekey agent baidu-maps-sse/baidu-maps-sse maps_geocode '{"address": "Times Square, New York"}' maps_reverse_geocode npx onekey agent baidu-maps-sse/baidu-maps-sse maps_reverse_geocode '{"latitude": 40.758, "longitude": -73.9855}' maps_search_places npx onekey agent baidu-maps-sse/baidu-maps-sse maps_search_places '{"query": "Italian restaurants", "location": {"latitude": 40.758, "longitude": -73.9855}, "radius": 500}' maps_place_details npx onekey agent baidu-maps-sse/baidu-maps-sse maps_place_details '{"place_id": "ChIJmQJIxlVYwokRLgeuocVOGVU"}' maps_distance_matrix npx onekey agent baidu-maps-sse/baidu-maps-sse maps_distance_matrix '{"origins": ["Times Square, NY"], "destinations": ["Central Park, NY"], "mode": "driving"}' maps_elevation npx onekey agent baidu-maps-sse/baidu-maps-sse maps_elevation '{"locations": [{"latitude": 36.057944, "longitude": -112.125168}]}' maps_directions 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/maps_geocode.py skills/baidu-maps-sse/scripts/maps_reverse_geocode.py skills/baidu-maps-sse/scripts/maps_search_places.py skills/baidu-maps-sse/scripts/maps_place_details.py skills/baidu-maps-sse/scripts/maps_distance_matrix.py skills/baidu-maps-sse/scripts/maps_elevation.py skills/baidu-maps-sse/scripts/maps_directions.py
示例 python3 scripts/.py --data '{"key": "value"}'
相关文档 DeepNLP OneKey Gateway 文档 AI Agent Marketplace 技能市场 AI Agent A2Z 部署 PH AI Agent A2Z 基础设施 GitHub AI Agent Marketplace 依赖项
CLI 依赖项 安装 onekey-gateway 从 npm:npm install @aiagenta2z/onekey-gateway
脚本依赖项 安装所需的 Python 包,然后运行任何脚本。 pip install ai-agent-marketplace 或者,安装依赖项从 requirements 文件:pip install -r requirements.txt 如果包已经安装,跳过安装。
代理规则 在执行命令行或运行任何脚本之前,请确保依赖项已经安装。 使用 onekey CLI 作为首选方法来运行技能。