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

# PermissionRequestDecision

> Represents the decision object for a PermissionRequest hook response. Contains the behavior decision and optional parameters.

## Definition

**Assembly:** CloudNimble.ClaudeEssentials.dll

**Namespace:** CloudNimble.ClaudeEssentials.Hooks.Outputs

**Inheritance:** System.Object

## Syntax

```csharp theme={"dark"}
CloudNimble.ClaudeEssentials.Hooks.Outputs.PermissionRequestDecision<TToolInput>
```

## Summary

Represents the decision object for a PermissionRequest hook response.
Contains the behavior decision and optional parameters.

## Type Parameters

* `TToolInput` - The type representing the tool's input parameters for updates.
  Use a specific tool input class or [Object](https://learn.microsoft.com/dotnet/api/system.object) for dynamic inputs.

## Constructors

### &#x20;.ctor

#### Syntax

```csharp theme={"dark"}
public PermissionRequestDecision()
```

### &#x20;.ctor Inherited

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

#### Syntax

```csharp theme={"dark"}
public Object()
```

## Properties

### &#x20;Behavior

Gets or sets the behavior to take for the permission request.

#### Syntax

```csharp theme={"dark"}
public CloudNimble.ClaudeEssentials.Hooks.PermissionRequestBehavior Behavior { get; set; }
```

#### Property Value

Type: `CloudNimble.ClaudeEssentials.Hooks.PermissionRequestBehavior?`

### &#x20;Interrupt

Gets or sets a value indicating whether to interrupt the current operation.
Only applicable when `Behavior` is [PermissionRequestBehavior.Deny](https://si.easyaf.dev/claudeessentials/api-reference/CloudNimble/ClaudeEssentials/Hooks/PermissionRequestBehavior.md#deny).

#### Syntax

```csharp theme={"dark"}
public System.Nullable<bool> Interrupt { get; set; }
```

#### Property Value

Type: `System.Nullable<bool>?`

### &#x20;Message

Gets or sets the message to display when the permission is denied.
Only applicable when `Behavior` is [PermissionRequestBehavior.Deny](https://si.easyaf.dev/claudeessentials/api-reference/CloudNimble/ClaudeEssentials/Hooks/PermissionRequestBehavior.md#deny).

#### Syntax

```csharp theme={"dark"}
public string Message { get; set; }
```

#### Property Value

Type: `string?`

### &#x20;UpdatedInput

Gets or sets optional modifications to the tool's input parameters.
Only applicable when `Behavior` is [PermissionRequestBehavior.Allow](https://si.easyaf.dev/claudeessentials/api-reference/CloudNimble/ClaudeEssentials/Hooks/PermissionRequestBehavior.md#allow).

#### Syntax

```csharp theme={"dark"}
public TToolInput UpdatedInput { get; set; }
```

#### Property Value

Type: `TToolInput?`

### &#x20;UpdatedPermissions

Gets or sets the permission updates to apply. Applies when the behavior is allow.

#### Syntax

```csharp theme={"dark"}
public System.Collections.Generic.List<CloudNimble.ClaudeEssentials.Hooks.Permissions.PermissionUpdate> UpdatedPermissions { get; set; }
```

#### Property Value

Type: `System.Collections.Generic.List<CloudNimble.ClaudeEssentials.Hooks.Permissions.PermissionUpdate>?`

## Methods

### &#x20;Equals Inherited Virtual

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

#### Syntax

```csharp theme={"dark"}
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={"dark"}
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={"dark"}
public virtual int GetHashCode()
```

#### Returns

Type: `int`

### &#x20;GetType Inherited

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

#### Syntax

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

#### Returns

Type: `System.Type`

### &#x20;MemberwiseClone Inherited

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

#### Syntax

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

#### Returns

Type: `object`

### &#x20;ReferenceEquals Inherited

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

#### Syntax

```csharp theme={"dark"}
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={"dark"}
public virtual string ToString()
```

#### Returns

Type: `string?`


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