Text Web Search
text_web_searchSearch the web by query to retrieve text results, with options for region, page count, and result limit.
Instructions
Perform a text web search using the provided query using DDGS.
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": "text_web_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | The number of pages to fetch. Default is 1, maximum is 10. | |
| query | Yes | The search query to fetch results for. It should be a non-empty string. | |
| region | No | Optional region to search in. | uk-en |
| max_results | No | The maximum number of results to return. Default is 10, maximum is 100. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |