用途:该技能用于查询单个已知 Walmart 商品的卖家报价信息,借助 Frevana 接口获取 sellers 结果。输入为必填的 product_id(即 Walmart 搜索或商品结果中的 us_item_id),以及可选的 store_id。输出为已校验的响应 JSON,并在每次成功运行时把同一份 JSON 保存到本地文件。
主要能力:返回并保存卖家数据,常见字段包括 product、shipping_destination、sellers,卖家条目可能含 position、us_item_id、offer_id、offer_type、availability_status、seller_id、seller_name、seller_display_name、seller_type、seller_store_front_url、price、extracted_price、return_policy_text、delivery_date、delivery_price 等。
使用方式:需要 user 提供的 product_id、可选 store_id、环境变量中的 FREVANA_TOKEN(或本次运行的 --token)、curl、bash、python3。建议优先使用脚本而非临时 curl。基本查询命令:bash <skill-path>/scripts/search_walmart_product_sellers.sh --product-id 10543894;带门店:追加 --store-id 5888;指定输出:追加 --output ./out/walmart-product-sellers-result.json;令牌覆盖:追加 --token "your bearer token"。--product_id、--us-item-id、--us_item_id 是 --product-id 的别名,--store_id 是 --store-id 的别名。
限制:仅当用户明确提供 Walmart 门店 ID 时才使用 store_id;若只有商品名、搜索词或不含明确 item id 的 URL,不要猜测,建议先运行 walmart-search 获取 organic_results[].us_item_id 再传入。接口 schema 目前仅支持 product_id 与 store_id,不要传入 engine、api_key、output、no_cache、async、zero_trace 等不支持的字段。缺少 curl 或 python3 时应停止并提示安装。不要向用户回显 Bearer token。除非用户明确要求,否则不要改写或重塑返回数据;后续解析或摘要应使用已保存的 JSON 文件,而非再次调用 sellers API。Agent 或非交互流程中若缺少 token 应快速失败并提示设置 FREVANA_TOKEN 或显式传入 --token。