Skip to main content

Definition

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

Syntax

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

.ctor Inherited

Inherited from object

Syntax

Properties

Behavior

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

Syntax

Property Value

Type: CloudNimble.ClaudeEssentials.Hooks.PermissionRequestBehavior?

Interrupt

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

Syntax

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

Property Value

Type: string?

UpdatedInput

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

Syntax

Property Value

Type: TToolInput?

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?