Skip to main content

Definition

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

Syntax

Summary

Represents a single question within the AskUserQuestion tool input.

Remarks

Each question includes a prompt, a short header label, a set of options to choose from, and whether multiple selections are allowed. Questions should be clear, specific, and end with a question mark. Example JSON:

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Gets or sets a very short label displayed as a chip/tag (max 12 chars). Examples: “Auth method”, “Library”, “Approach”.

Syntax

Property Value

Type: string

MultiSelect

Gets or sets whether to allow the user to select multiple options instead of just one. Use when choices are not mutually exclusive.

Syntax

Property Value

Type: bool

Options

Gets or sets the available choices for this question. Must have 2-4 options. Each option should be a distinct, mutually exclusive choice (unless AskUserQuestion.MultiSelect is enabled). There should be no ‘Other’ option, that will be provided automatically.

Syntax

Property Value

Type: System.Collections.Generic.List<CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.AskUserQuestionOption>

Question

Gets or sets the complete question to ask the user. Should be clear, specific, and end with a question mark. If AskUserQuestion.MultiSelect is true, phrase it accordingly, e.g. “Which features do you want to enable?”

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?