search
Perform web searches with DuckDuckGo to retrieve structured results including titles, URLs, and snippets, with options for region, safe search, and time limits.
Instructions
Search the web using DuckDuckGo.
This tool performs a web search using DuckDuckGo and returns structured results
including titles, URLs, and body snippets.
Args:
query: The search query string
max_results: Maximum number of results to return (1-50)
region: Region code for localized results (optional)
safesearch: Safe search filtering level
timelimit: Time limit for results (day, week, month, year)
Returns:
SearchResponse with query, results, and total count
Input Schema
Name | Required | Description | Default |
---|---|---|---|
max_results | No | Maximum number of results to return (1-50) | |
query | Yes | ||
region | No | Region code (e.g., 'us-en', 'uk-en', 'de-de') | |
safesearch | No | Safe search level | off |
timelimit | No | Time limit for results |
Input Schema (JSON Schema)
{
"properties": {
"max_results": {
"default": 10,
"description": "Maximum number of results to return (1-50)",
"maximum": 50,
"minimum": 1,
"title": "Max Results",
"type": "integer"
},
"query": {
"title": "Query",
"type": "string"
},
"region": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Region code (e.g., 'us-en', 'uk-en', 'de-de')",
"title": "Region"
},
"safesearch": {
"default": "off",
"description": "Safe search level",
"enum": [
"on",
"moderate",
"off"
],
"title": "Safesearch",
"type": "string"
},
"timelimit": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"year"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Time limit for results",
"title": "Timelimit"
}
},
"required": [
"query"
],
"type": "object"
}