用途:该技能让智能体通过 SerpApi REST API(经 WebFetch 调用)获取结构化搜索结果,覆盖 Google 搜索、Google Shopping、Google Jobs、Google Immersive Product、eBay、Amazon 搜索与 Amazon 商品详情。
主要能力与引擎:基础端点为 https://serpapi.com/search,每次请求需以查询参数传入 api_key。engine 取值分别为 google、google_shopping、google_jobs、google_immersive_product、ebay、amazon、amazon_product,构造请求前应先阅读对应参考文件(如 references/google-search-api.md、references/amazon-product-api.md 等)。
链式调用:Google Shopping 结果项的 immersive_product_page_token 可作为 google_immersive_product 的 page_token;Amazon 搜索结果的 serpapi_link 可直接指向 amazon_product 获取完整商品详情,也可手动使用 asin。
筛选与分页:Google Shopping 的 shoprs 筛选令牌来自响应中 filters[].options[].shoprs 或 carousel_filters[].shoprs,不可手动构造;Google Jobs 的 uds 筛选令牌来自响应中的 filters,chips 与 ltype 已弃用,分页用 serpapi_pagination 的 next_page_token,start 已停用。
结果呈现:价格需带币种并保留 extracted_price 以便计算;职位列表展示 title、company_name、location、via 及 detected_extensions 关键字段(如 schedule type、remote、salary);商品结果展示 title、price、rating、reviews 与来源/卖家;eBay 需明确区分赞助列表。
限制:需自备 SerpApi API key;具体配额、计费与速率限制资料未提供。