linkfox-ehunt-temu-store-query
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseEHunt Temu 店铺查询(ehunt/temu/storeQuery
)
ehunt/temu/storeQueryEHunt Temu 店铺查询(ehunt/temu/storeQuery
)
ehunt/temu/storeQuery在具备 LinkFox「第三方数据服务」MCP 时,对应网关路由 调用(MCP 展示名:Temu 店铺查询,确切工具名以当前环境下发的工具元数据为准)。鉴权与上游路由由网关处理;若响应含根级 字段,是否成功以实网为准。
ehunt/temu/storeQuerycode在具备 LinkFox「第三方数据服务」MCP 时,对应网关路由 调用(MCP 展示名:Temu 店铺查询,确切工具名以当前环境下发的工具元数据为准)。鉴权与上游路由由网关处理;若响应含根级 字段,是否成功以实网为准。
ehunt/temu/storeQuerycode要点
要点
- 分页:从 1 起;
page默认 20、最大 100。pageSize - 区间入参:/
*Min成对出现(总/周/月销量、总/周/月销售额、评分、评论、粉丝、商品数),组成上游区间。*Max - 站点:国家站点 ID,多个逗号分隔(如
siteId=美国、211=英国)。76 - 类目:后台类目 ID,多个逗号分隔。
category - 托管模式:(0=全托管,1=半托管,字符串)。
isLocal - 开店时间:/
listedTimeBegin(YYYY-MM-DD)。listedTimeEnd - 排序:为「字段-方向」字符串,如
sortBy(周销量降序,默认)、order_week_count-0、order_count-0、total_revenue-0。rating-0
- 分页:从 1 开始;
page默认值为20,最大值为100。pageSize - 区间入参:/
*Min需成对传入(涉及总/周/月销量、总/周/月销售额、评分、评论数、粉丝数、商品数量),组成上游查询区间。*Max - 站点:为国家站点ID,多个ID用逗号分隔(例如
siteId=美国、211=英国)。76 - 类目:为后台类目ID,多个ID用逗号分隔。
category - 托管模式:(0=全托管,1=半托管,字符串类型)。
isLocal - 开店时间:/
listedTimeBegin(格式为YYYY-MM-DD)。listedTimeEnd - 排序:为「字段-方向」格式的字符串,例如
sortBy(周销量降序,默认值)、order_week_count-0、order_count-0、total_revenue-0。rating-0
脚本(可选)
脚本(可选)
命令行调试:(需 )。详见 references/api.md 末尾。
python scripts/ehunt_temu_store_query.py '<JSON>'LINKFOXAGENT_API_KEY命令行调试:(需配置 )。详情请见 references/api.md 末尾。
python scripts/ehunt_temu_store_query.py '<JSON>'LINKFOXAGENT_API_KEY参考
参考
入参/出参表见 references/api.md。
<!-- LF_LARGE_RESPONSE_BLOCK -->入参/出参表请见 references/api.md。
<!-- LF_LARGE_RESPONSE_BLOCK -->Handling Large Responses
处理大响应结果
To avoid overflowing the agent context, persist the response to disk and extract only the fields you need:
python scripts/response_io.py run --script scripts/ehunt_temu_store_query.py --out-dir <DIR> '<params>'
python scripts/response_io.py read <file> --fields "<paths>" # or --path "<JMESPath>"Pickoutside any git working tree (e.g.--out-diron Unix,/tmp/...on Windows). Persisted responses may contain PII, pricing, or auth-sensitive data — do not commit them. Files are not auto-deleted; clean up when the task is done.%TEMP%/...
runread--limit/--offset--format json|jsonl|csv|tableWhen to prefer this pattern — apply your judgment based on the response characteristics, e.g.:
- High field count per record, or fields you don't need
- Batch/paginated results (multiple items per call)
- Long-text fields (descriptions, reviews, HTML, time series)
- Output reused across later steps rather than consumed immediately
For small, single-use responses, calling the main script directly is fine.
⚠️ The preview is a truncated schema + sample, not the full data. Any field-level decision must read from the persisted file via .
<!-- /LF_LARGE_RESPONSE_BLOCK -->read为避免超出 Agent 上下文限制,请将响应结果持久化到磁盘,并仅提取所需字段:
python scripts/response_io.py run --script scripts/ehunt_temu_store_query.py --out-dir <DIR> '<params>'
python scripts/response_io.py read <file> --fields "<paths>" # 或使用 --path "<JMESPath>"请将选择在 Git 工作区之外(例如 Unix 系统的--out-dir,Windows 系统的/tmp/...)。持久化的响应结果可能包含个人身份信息(PII)、定价或敏感鉴权数据——请勿提交到代码仓库。文件不会自动删除,任务完成后请自行清理。%TEMP%/...
runread--limit/--offset--format json|jsonl|csv|table何时优先使用此模式——请根据响应特征判断,例如:
- 每条记录字段数量多,或包含不需要的字段
- 批量/分页结果(单次调用返回多条数据)
- 长文本字段(描述、评论、HTML、时间序列等)
- 输出结果需在后续步骤中复用,而非立即使用
对于小型、单次使用的响应结果,直接调用主脚本即可。
⚠️ 预览内容是截断后的模式 + 示例,并非完整数据。任何字段相关的决策都必须通过 命令从持久化文件中读取。
<!-- /LF_LARGE_RESPONSE_BLOCK -->read