Skip to main content

Definition

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

Syntax

CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.TaskToolInput

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

public TaskToolInput()

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

Description

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

Syntax

public string Description { get; set; }

Property Value

Type: string

Model

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

Syntax

public string Model { get; set; }

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

public string Prompt { get; set; }

Property Value

Type: string

Resume

Gets or sets an optional agent ID to resume from.

Syntax

public string Resume { get; set; }

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

public System.Nullable<bool> RunInBackground { get; set; }

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

public string SubagentType { get; set; }

Property Value

Type: string

Remarks

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

Methods

Equals Inherited Virtual

Inherited from object

Syntax

public virtual bool Equals(object obj)

Parameters

NameTypeDescription
objobject?-

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

public static bool Equals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

public virtual int GetHashCode()

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

public System.Type GetType()

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

protected internal object MemberwiseClone()

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

public static bool ReferenceEquals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

public virtual string ToString()

Returns

Type: string?