Skip to main content

Definition

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

Syntax

Summary

Base class containing common fields present in all hook inputs. All hooks receive these fields via JSON through stdin.

Constructors

.ctor Inherited

Inherited from object

Syntax

Properties

AgentId

Gets or sets the subagent identifier. Present only when the hook fires from within a subagent.

Syntax

Property Value

Type: string?

AgentType

Gets or sets the agent type name, present within a subagent or on the main thread of a session started with --agent.

Syntax

Property Value

Type: string?

CurrentWorkingDirectory

Gets or sets the current working directory where Claude Code is running.

Syntax

Property Value

Type: string

Effort

Gets or sets the reasoning effort applied to the current turn.

Syntax

Property Value

Type: CloudNimble.ClaudeEssentials.Hooks.Inputs.HookEffortInfo?

HookEventName

Gets or sets the name of the hook event that triggered this input.

Syntax

Property Value

Type: CloudNimble.ClaudeEssentials.Hooks.HookEventName?

PermissionMode

Gets or sets the permission mode under which Claude Code is operating.

Syntax

Property Value

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

PromptId

Gets or sets the UUID correlating a user prompt with all subsequent events until the next prompt.

Syntax

Property Value

Type: string?

SessionId

Gets or sets the unique identifier for the current Claude Code session.

Syntax

Property Value

Type: string

TranscriptPath

Gets or sets the file path to the transcript JSONL file for the current session. This file contains the full conversation history.

Syntax

Property Value

Type: string

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?