Skip to main content

Definition

Assembly: CloudNimble.ClaudeEssentials.dll Namespace: CloudNimble.ClaudeEssentials.Hooks.Tools Inheritance: CloudNimble.ClaudeEssentials.Hooks.Inputs.PostToolUseHookInput<CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.EnterWorktreeToolInput, CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.EnterWorktreeToolResponse>

Syntax

Summary

Represents the complete payload delivered to a PostToolUse hook after the EnterWorktree tool has executed.

Remarks

The EnterWorktree tool creates a temporary git worktree. Your hook receives the worktree path and branch information after creation.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Inputs.PostToolUseHookInput<CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.EnterWorktreeToolInput, CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.EnterWorktreeToolResponse>

Syntax

.ctor Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Inputs.ToolHookInputBase<CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.EnterWorktreeToolInput>

Syntax

.ctor Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Inputs.HookInputBase

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

CurrentWorkingDirectory Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Inputs.HookInputBase
Gets or sets the current working directory where Claude Code is running.

Syntax

Property Value

Type: string

HookEventName Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Inputs.HookInputBase
Gets or sets the name of the hook event that triggered this input.

Syntax

Property Value

Type: CloudNimble.ClaudeEssentials.Hooks.HookEventName

PermissionMode Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Inputs.HookInputBase
Gets or sets the permission mode under which Claude Code is operating.

Syntax

Property Value

Type: CloudNimble.ClaudeEssentials.Hooks.PermissionMode

SessionId Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Inputs.HookInputBase
Gets or sets the unique identifier for the current Claude Code session.

Syntax

Property Value

Type: string

ToolInput Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Inputs.ToolHookInputBase<CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.EnterWorktreeToolInput>
Gets or sets the input parameters for the tool. The schema depends on the specific tool being invoked.

Syntax

Property Value

Type: CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.EnterWorktreeToolInput?

ToolName Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Inputs.ToolHookInputBase<CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.EnterWorktreeToolInput>
Gets or sets the name of the tool being invoked. Common tool names include: Write, Edit, Bash, Read, Grep, Glob, Task, WebFetch, WebSearch. MCP tools follow the pattern: mcp__<server>__<tool>.

Syntax

Property Value

Type: string

ToolResponse Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Inputs.PostToolUseHookInput<CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.EnterWorktreeToolInput, CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.EnterWorktreeToolResponse>
Gets or sets the response data returned by the tool. The schema depends on the specific tool that was invoked.

Syntax

Property Value

Type: CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.EnterWorktreeToolResponse?

ToolUseId Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Inputs.ToolHookInputBase<CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.EnterWorktreeToolInput>
Gets or sets the unique identifier for this specific tool use instance. Typically follows the pattern: toolu_01ABC123…

Syntax

Property Value

Type: string

TranscriptPath Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Inputs.HookInputBase
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?