Skip to main content

Definition

Assembly: CloudNimble.ClaudeEssentials.dll Namespace: CloudNimble.ClaudeEssentials.Hooks.Outputs Inheritance: CloudNimble.ClaudeEssentials.Hooks.Outputs.HookSpecificOutputBase

Syntax

Summary

Represents the hook-specific output for a PreToolUse hook. Contains permission decisions and optional input modifications.

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 CloudNimble.ClaudeEssentials.Hooks.Outputs.HookSpecificOutputBase

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

HookEventName Override

Gets the hook event name for this output type.

Syntax

Property Value

Type: CloudNimble.ClaudeEssentials.Hooks.HookEventName?

HookEventName Inherited Abstract

Inherited from CloudNimble.ClaudeEssentials.Hooks.Outputs.HookSpecificOutputBase
Gets or sets the name of the hook event this output corresponds to.

Syntax

Property Value

Type: CloudNimble.ClaudeEssentials.Hooks.HookEventName

PermissionDecision

Gets or sets the permission decision for the tool execution.

Syntax

Property Value

Type: System.Nullable<CloudNimble.ClaudeEssentials.Hooks.PermissionDecision?>?

PermissionDecisionReason

Gets or sets the reason for the permission decision. This message is shown to Claude to explain why the tool was allowed, denied, or requires user input.

Syntax

Property Value

Type: string?

UpdatedInput

Gets or sets optional modifications to the tool’s input parameters. Only the fields that need to be changed should be included.

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?