baidu_search
Run Baidu searches and get parsed JSON results, with support for Chinese-language filtering, pagination, and result count control.
Instructions
Run a Baidu search via Scrapingdog (/baidu/search). Returns parsed results as JSON. Supports Chinese-language restriction (ct), pagination (pn), and result count (rn).
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": {
"query": "<query>"
},
"name": "baidu_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ct | No | Language restriction: 1 = all, 2 = Simplified Chinese, 3 = Traditional Chinese. | |
| pn | No | Result offset for pagination. 0 = first page, 10 = second, 20 = third, etc. | |
| rn | No | Maximum number of results to return. | |
| html | No | Return the full raw HTML of the Baidu results page. | |
| query | Yes | The Baidu search query. Supports inurl:, site:, intitle: operators. | |
| api_key | No | Override the configured Scrapingdog API key for this call. If omitted, the key is read from SCRAPINGDOG_API_KEY or a local .env file. |