# Search Google

> Perform Search Google through GenHealth.

Source: [https://genhealth.ai/docs/workflows/integrations/gen-health/genhealth_search_google](https://genhealth.ai/docs/workflows/integrations/gen-health/genhealth_search_google)

Integration: [GenHealth](https://genhealth.ai/docs/workflows/integrations/gen-health.md)

- Handler: `genhealth_search_google`

## Inputs

- `query` — Query (text, required)
  Required text value.
- `num_results` — Num Results (number)
  Optional numeric value.
  Default: `10`
- `country` — Country (text)
  Optional text value.
  Default: `"us"`
- `language` — Language (text)
  Optional text value.
  Default: `"en"`

## Outputs

- `success` — Success
- `results` — Results
- `cached` — Cached
- `fetched_at` — Fetched At
- `expires_at` — Expires At
- `error` — Error

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `read`
- Confirmation recommended: no
- Retry safe: yes
- Dry run supported: no

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "country": {
      "type": "string",
      "default": "us",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "language": {
      "type": "string",
      "default": "en",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "num_results": {
      "type": "number",
      "default": 10,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "cached": {},
    "results": {},
    "success": {},
    "expires_at": {},
    "fetched_at": {}
  },
  "additionalProperties": true
}
```
