Skip to main content

Definition

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

Syntax

CloudNimble.ClaudeEssentials.Hooks.Outputs.PreToolUseSpecificOutput<TToolInput>

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

public PreToolUseSpecificOutput()

.ctor Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Outputs.HookSpecificOutputBase

Syntax

protected HookSpecificOutputBase()

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

HookEventName Override

Gets the hook event name for this output type.

Syntax

public override CloudNimble.ClaudeEssentials.Hooks.Enums.HookEventName HookEventName { get; }

Property Value

Type: CloudNimble.ClaudeEssentials.Hooks.Enums.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

public abstract CloudNimble.ClaudeEssentials.Hooks.Enums.HookEventName HookEventName { get; }

Property Value

Type: CloudNimble.ClaudeEssentials.Hooks.Enums.HookEventName

PermissionDecision

Gets or sets the permission decision for the tool execution.

Syntax

public System.Nullable<CloudNimble.ClaudeEssentials.Hooks.Enums.PermissionDecision> PermissionDecision { get; set; }

Property Value

Type: System.Nullable<CloudNimble.ClaudeEssentials.Hooks.Enums.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

public string PermissionDecisionReason { get; set; }

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

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?