> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# TaskToolInput

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

## Definition

**Assembly:** CloudNimble.ClaudeEssentials.dll

**Namespace:** CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs

**Inheritance:** System.Object

## Syntax

```csharp theme={"dark"}
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

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .ctor

#### Syntax

```csharp theme={"dark"}
public TaskToolInput()
```

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .ctor <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public Object()
```

## Properties

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Description

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

#### Syntax

```csharp theme={"dark"}
public string Description { get; set; }
```

#### Property Value

Type: `string`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Model

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

#### Syntax

```csharp theme={"dark"}
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.

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Prompt

Gets or sets the task for the agent to perform.

#### Syntax

```csharp theme={"dark"}
public string Prompt { get; set; }
```

#### Property Value

Type: `string`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Resume

Gets or sets an optional agent ID to resume from.

#### Syntax

```csharp theme={"dark"}
public string Resume { get; set; }
```

#### Property Value

Type: `string?`

#### Remarks

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

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> RunInBackground

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

#### Syntax

```csharp theme={"dark"}
public System.Nullable<bool> RunInBackground { get; set; }
```

#### Property Value

Type: `System.Nullable<bool>`

#### Remarks

When `true`, use TaskOutput to read the output later.

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> SubagentType

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

#### Syntax

```csharp theme={"dark"}
public string SubagentType { get; set; }
```

#### Property Value

Type: `string`

#### Remarks

Examples: "general-purpose", "Explore", "Plan", "statusline-setup"

## Methods

### <Icon icon="code-fork" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Equals <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public virtual bool Equals(object obj)
```

#### Parameters

| Name  | Type      | Description |
| ----- | --------- | ----------- |
| `obj` | `object?` | -           |

#### Returns

Type: `bool`

### <Icon icon="thumbtack" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Equals <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public static bool Equals(object objA, object objB)
```

#### Parameters

| Name   | Type      | Description |
| ------ | --------- | ----------- |
| `objA` | `object?` | -           |
| `objB` | `object?` | -           |

#### Returns

Type: `bool`

### <Icon icon="code-fork" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> GetHashCode <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public virtual int GetHashCode()
```

#### Returns

Type: `int`

### <Icon icon="function" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> GetType <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public System.Type GetType()
```

#### Returns

Type: `System.Type`

### <Icon icon="function" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> MemberwiseClone <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
protected internal object MemberwiseClone()
```

#### Returns

Type: `object`

### <Icon icon="thumbtack" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> ReferenceEquals <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public static bool ReferenceEquals(object objA, object objB)
```

#### Parameters

| Name   | Type      | Description |
| ------ | --------- | ----------- |
| `objA` | `object?` | -           |
| `objB` | `object?` | -           |

#### Returns

Type: `bool`

### <Icon icon="code-fork" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> ToString <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public virtual string ToString()
```

#### Returns

Type: `string?`
