taobao_search
Search Taobao and Tmall products directly via HTTP, bypassing browser and rate limit restrictions.
Instructions
搜索淘宝/天猫商品。纯脚本,无需浏览器,不限流。
原理: curl_cffi 伪造 Chrome TLS 指纹 + MTOP HMAC-MD5 签名。 需要 TAOBAO_COOKIES_FILE 环境变量或 ~/.cn-scraper-cookies/taobao.json。
并发安全: ✅ 纯 HTTP/REST API,无共享状态,任意并发调用安全。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"keyword": "<keyword>"
},
"name": "taobao_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 返回条数上限 (默认 10) | |
| keyword | Yes | 搜索关键词,如 "华为mate70" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||