Loading...
Loading...
通过滴滴出行 MCP 打车、查价、查询订单、取消订单、规划路线(驾车/公交/步行/骑行)和搜索地点。Use when the user mentions 滴滴, 打车, 叫车, 回家/上班要打车, 查一下从 A 到 B 多少钱/怎么走, 查询订单, 司机在哪/多久到, 预约叫车, 路线规划, DiDi, ride-hailing, or booking a taxi.
npx skill4agent add acedatacloud/skills didi-ridedidiDIDI_MCP_KEYDIDI_MCP_KEYDIDI=$SKILL_DIR/scripts/didi.pypython3 $DIDI list # list tools + their JSON input schemas
python3 $DIDI call <tool> '<json-args>' # call any toolreferences/api_references.mdpython3 $DIDI listkeywordkeywordsregioncityfrom_name/from_lat/from_lng/to_name/to_lat/to_lngproduct_category{"product_category":"1"}{"product_category":1}taxi_create_ordertaxi_cancel_order--confirm--confirm--confirmpython3 $DIDI call taxi_create_order '{"estimate_trace_id":"...","product_category":"1"}' --confirm--confirmmaps_textsearchmaps_textsearchtaxi_estimatetraceIdestimate_trace_id-32021product_category18taxi_estimate1201taxi_create_orderestimate_trace_id--confirmpython3 $DIDI call taxi_query_order '{"order_id":"ORDER_ID"}'code| code | 含义 | 输出 |
|---|---|---|
| 0 | 匹配中 | ⏳ 正在为您匹配司机 |
| 1 | 司机已接单 | 展示司机姓名、车型、车牌、电话、距离与预计到达时间 |
| 2 | 司机已到达 | 🔔 司机已到达上车点 |
| 4 | 行程进行中 | 🚗 行程已开始 |
| 5 | 订单完成 | ✅ 行程结束(展示费用,如有) |
| 6 | 系统取消 | ❌ 订单已被系统取消 |
| 7 | 已取消 | ❌ 订单已取消 |
| 3 / 8-12 | 其他终态 | 显示对应状态描述 |
python3 $DIDI call maps_direction_driving '{"from_name":"...","from_lat":"...","from_lng":"...","to_name":"...","to_lat":"...","to_lng":"..."}'
python3 $DIDI call maps_direction_transit '{...}' # 公交
python3 $DIDI call maps_direction_walking '{...}' # 步行
python3 $DIDI call maps_direction_bicycling '{...}' # 骑行
python3 $DIDI call maps_place_around '{"keywords":"咖啡","lat":"...","lng":"..."}'
python3 $DIDI call maps_regeocode '{"lat":"...","lng":"..."}'taxi_create_orderestimate_trace_idproduct_categorycaller_car_phone-32002Setup: See authentication. This skill uses theconnector's injecteddidi, notDIDI_MCP_KEY.ACEDATACLOUD_API_TOKEN