Skip to main content

Definition

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

Syntax

Summary

Represents the input parameters for the Task tool. The Task tool launches specialized agents (subprocesses) that autonomously handle complex tasks.

Remarks

Each agent type has specific capabilities and tools available to it. Available agent types include: general-purpose, Explore, Plan, and others.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Description

Gets or sets a short (3-5 word) description of the task.

Syntax

Property Value

Type: string

Model

Gets or sets the optional model to use for this agent.

Syntax

Property Value

Type: string?

Remarks

If not specified, inherits from parent. Options: “sonnet”, “opus”, “haiku”. Prefer haiku for quick, straightforward tasks to minimize cost and latency.

Prompt

Gets or sets the task for the agent to perform.

Syntax

Property Value

Type: string

Resume

Gets or sets an optional agent ID to resume from.

Syntax

Property Value

Type: string?

Remarks

If provided, the agent will continue from the previous execution transcript.

RunInBackground

Gets or sets whether to run this agent in the background.

Syntax

Property Value

Type: System.Nullable<bool>

Remarks

When true, use TaskOutput to read the output later.

SubagentType

Gets or sets the type of specialized agent to use for this task.

Syntax

Property Value

Type: string

Remarks

Examples: “general-purpose”, “Explore”, “Plan”, “statusline-setup”

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?