> ## 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.

# ConfigToolResponse

> Represents the response payload returned by the Claude Code Config tool after getting or setting a configuration value.

## Definition

**Assembly:** CloudNimble.ClaudeEssentials.dll

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

**Inheritance:** System.Object

## Syntax

```csharp theme={null}
CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.ConfigToolResponse
```

## Summary

Represents the response payload returned by the Claude Code Config tool after
getting or setting a configuration value.

## Remarks

Example JSON payload (get):

```csharp theme={null}
{
  "success": true,
  "operation": "get",
  "setting": "theme",
  "value": "dark"
}
```

Example JSON payload (set):

```csharp theme={null}
{
  "success": true,
  "operation": "set",
  "setting": "theme",
  "previousValue": "light",
  "newValue": "dark"
}
```

## Constructors

### &#x20;.ctor

#### Syntax

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

### &#x20;.ctor Inherited

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

#### Syntax

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

## Properties

### &#x20;Error

Gets or sets the error message if the operation failed.

#### Syntax

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

#### Property Value

Type: `string?`

### &#x20;NewValue

Gets or sets the new value after the update (for set operations).

#### Syntax

```csharp theme={null}
public System.Nullable<System.Text.Json.JsonElement> NewValue { get; set; }
```

#### Property Value

Type: `System.Nullable<System.Text.Json.JsonElement?>?`

### &#x20;Operation

Gets or sets the type of operation performed.

#### Syntax

```csharp theme={null}
public System.Nullable<CloudNimble.ClaudeEssentials.Hooks.ConfigOperation> Operation { get; set; }
```

#### Property Value

Type: `System.Nullable<CloudNimble.ClaudeEssentials.Hooks.ConfigOperation?>?`

#### Remarks

See [ConfigOperation](https://ai.easyaf.dev/claudeessentials/api-reference/CloudNimble/ClaudeEssentials/Hooks/ConfigOperation.md) for possible values.

### &#x20;PreviousValue

Gets or sets the previous value before the update (for set operations).

#### Syntax

```csharp theme={null}
public System.Nullable<System.Text.Json.JsonElement> PreviousValue { get; set; }
```

#### Property Value

Type: `System.Nullable<System.Text.Json.JsonElement?>?`

### &#x20;Setting

Gets or sets the setting key that was accessed.

#### Syntax

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

#### Property Value

Type: `string?`

### &#x20;Success

Gets or sets whether the operation succeeded.

#### Syntax

```csharp theme={null}
public bool Success { get; set; }
```

#### Property Value

Type: `bool`

### &#x20;Value

Gets or sets the current value of the setting (for get operations).

#### Syntax

```csharp theme={null}
public System.Nullable<System.Text.Json.JsonElement> Value { get; set; }
```

#### Property Value

Type: `System.Nullable<System.Text.Json.JsonElement?>?`

## 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.