> ## Documentation Index
> Fetch the complete documentation index at: https://ai.easyaf.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# WebSearchToolInput

> Represents the input parameters for the WebSearch tool. The WebSearch tool allows Claude to search the web and use the results to inform responses.

## Definition

**Assembly:** CloudNimble.ClaudeEssentials.dll

**Namespace:** CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs

**Inheritance:** System.Object

## Syntax

```csharp theme={null}
CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.WebSearchToolInput
```

## Summary

Represents the input parameters for the WebSearch tool.
The WebSearch tool allows Claude to search the web and use the results to inform responses.

## Remarks

Provides up-to-date information for current events and recent data.
Web search is only available in the US.

## Constructors

### &#x20;.ctor

#### Syntax

```csharp theme={null}
public WebSearchToolInput()
```

### &#x20;.ctor Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public Object()
```

## Properties

### &#x20;AllowedDomains

Gets or sets the domains to include in search results.

#### Syntax

```csharp theme={null}
public string[] AllowedDomains { get; set; }
```

#### Property Value

Type: `string[]?`

#### Remarks

Only include search results from these domains.

### &#x20;BlockedDomains

Gets or sets the domains to exclude from search results.

#### Syntax

```csharp theme={null}
public string[] BlockedDomains { get; set; }
```

#### Property Value

Type: `string[]?`

#### Remarks

Never include search results from these domains.

### &#x20;Query

Gets or sets the search query to use.

#### Syntax

```csharp theme={null}
public string Query { get; set; }
```

#### Property Value

Type: `string`

#### Remarks

Minimum 2 characters.

## Methods

### &#x20;Equals Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public virtual bool Equals(object obj)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `obj` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;Equals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public static bool Equals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;GetHashCode Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public virtual int GetHashCode()
```

#### Returns

Type: `int`

### &#x20;GetType Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public System.Type GetType()
```

#### Returns

Type: `System.Type`

### &#x20;MemberwiseClone Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
protected internal object MemberwiseClone()
```

#### Returns

Type: `object`

### &#x20;ReferenceEquals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public static bool ReferenceEquals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;ToString Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public virtual string ToString()
```

#### Returns

Type: `string?`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.