Install
openclaw skills install caocao-chuxing-skillUse this skill for all 曹操出行 ride-hailing requests after the user installs the skill and provides an API key from https://mcp.caocaokeji.cn/console. Trigger when the user wants to call a ride, estimate fares, generate a ride link, create an order, query an ongoing order, or cancel an order through 曹操出行.
openclaw skills install caocao-chuxing-skill这个 skill 用来处理 所有曹操出行打车相关需求。
安装这个 skill 后,接入者只需要做一件事:
https://mcp.caocaokeji.cn/console配置完成后,就可以直接用自然语言完成:
当用户出现以下意图时,直接使用这个 skill:
当用户给出 API Key 时,执行:
python3 <skill_dir>/scripts/caocao_mcp.py configure --api-key "<API_KEY>"
然后建议立刻做一个简单测试:
python3 <skill_dir>/scripts/caocao_mcp.py maps_text_poi --keywords "杭州东站" --city-name "杭州"
如果返回地点列表,说明已经可以正常使用。
优先使用高层命令:
python3 <skill_dir>/scripts/caocao_mcp.py ride_flow --from-keywords "百度科技园" --to-keywords "北京西站" --city-name "北京" --action estimate
python3 <skill_dir>/scripts/caocao_mcp.py ride_flow --from-keywords "百度科技园" --to-keywords "北京西站" --city-name "北京" --action link
python3 <skill_dir>/scripts/caocao_mcp.py ride_flow --from-keywords "百度科技园" --to-keywords "百度大厦" --city-name "北京" --action create-order
python3 <skill_dir>/scripts/caocao_mcp.py ride_flow --from-keywords "百度科技园" --to-keywords "北京西站" --city-name "北京" --action create-order --service-type 3
需要精确控制时,再使用:
maps_text_poitrip_estimatetrip_generate_ride_linktrip_create_ordertrip_query_ordertrip_cancel_order默认顺序:
优先走:
ride_flow --action link优先走:
ride_flow --action create-orderservice-type,默认选最便宜车型