Skip to main content

Definition

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

Syntax

Summary

Represents the output for a Stop hook. Used to optionally block Claude from stopping and continue processing.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Outputs.HookOutputBase

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Continue Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Outputs.HookOutputBase
Gets or sets a value indicating whether to continue with the operation. When set to false, the operation will be stopped. Defaults to true.

Syntax

Property Value

Type: bool

Remarks

This property is always serialized to ensure explicit intent is communicated.

Decision

Gets or sets the decision for the stop operation. Set to HookDecision.Block to prevent Claude from stopping.

Syntax

Property Value

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

Reason

Gets or sets the reason for blocking the stop operation. Required when blocking to explain why Claude should continue.

Syntax

Property Value

Type: string?

StopReason Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Outputs.HookOutputBase
Gets or sets the reason message shown when HookOutputBase.Continue is false. This message is displayed to the user when the operation is stopped.

Syntax

Property Value

Type: string?

SuppressOutput Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Outputs.HookOutputBase
Gets or sets a value indicating whether to suppress output from the transcript. When true, the hook’s output will not appear in the conversation transcript. Defaults to false.

Syntax

Property Value

Type: bool

SystemMessage Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Outputs.HookOutputBase
Gets or sets an optional warning message to include in the system context. This message is shown to Claude as additional context.

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?