Skip to main content

Definition

Assembly: CloudNimble.ClaudeEssentials.dll Namespace: CloudNimble.ClaudeEssentials.Hooks.Outputs Inheritance: System.Object

Syntax

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 for dynamic inputs.

Constructors

.ctor

Syntax

public PermissionRequestDecision()

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

Behavior

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

Syntax

public CloudNimble.ClaudeEssentials.Hooks.Enums.PermissionRequestBehavior Behavior { get; set; }

Property Value

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

Interrupt

Gets or sets a value indicating whether to interrupt the current operation. Only applicable when Behavior is PermissionRequestBehavior.Deny.

Syntax

public bool Interrupt { get; set; }

Property Value

Type: bool

Message

Gets or sets the message to display when the permission is denied. Only applicable when Behavior is PermissionRequestBehavior.Deny.

Syntax

public string Message { get; set; }

Property Value

Type: string?

UpdatedInput

Gets or sets optional modifications to the tool’s input parameters. Only applicable when Behavior is PermissionRequestBehavior.Allow.

Syntax

public TToolInput UpdatedInput { get; set; }

Property Value

Type: TToolInput?

Methods

Equals Inherited Virtual

Inherited from object

Syntax

public virtual bool Equals(object obj)

Parameters

NameTypeDescription
objobject?-

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

public static bool Equals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

public virtual int GetHashCode()

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

public System.Type GetType()

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

protected internal object MemberwiseClone()

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

public static bool ReferenceEquals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

public virtual string ToString()

Returns

Type: string?