{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 400,
      "description": "What to search for, e.g. \"x402 payment protocol\" or \"site:github.com mcp server\"."
    },
    "limit": {
      "description": "Results to return (default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 20
    },
    "freshness": {
      "description": "Only pages from the last day, week, month or year.",
      "type": "string",
      "enum": [
        "day",
        "week",
        "month",
        "year"
      ]
    },
    "country": {
      "description": "Two-letter country for local results, e.g. \"US\", \"DE\".",
      "type": "string",
      "pattern": "^[A-Za-z]{2}$"
    },
    "language": {
      "description": "Result language, e.g. \"en\", \"es\".",
      "type": "string",
      "pattern": "^[a-z]{2}$"
    },
    "safesearch": {
      "description": "Default moderate.",
      "type": "string",
      "enum": [
        "off",
        "moderate",
        "strict"
      ]
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}