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

# BashToolInput

> Represents the input parameters for the Bash tool. The Bash tool executes shell commands in a persistent bash session.

## Definition

**Assembly:** CloudNimble.ClaudeEssentials.dll

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

**Inheritance:** System.Object

## Syntax

```csharp theme={null}
CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs.BashToolInput
```

## Summary

Represents the input parameters for the Bash tool.
The Bash tool executes shell commands in a persistent bash session.

## Remarks

This tool is for terminal operations like git, npm, docker, etc.

If the output exceeds 30000 characters, it will be truncated.

## Constructors

### &#x20;.ctor

#### Syntax

```csharp theme={null}
public BashToolInput()
```

### &#x20;.ctor Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public Object()
```

## Properties

### &#x20;Command

Gets or sets the command to execute.

#### Syntax

```csharp theme={null}
public string Command { get; set; }
```

#### Property Value

Type: `string`

### &#x20;DangerouslyDisableSandbox

Gets or sets whether to dangerously override sandbox mode and run commands without sandboxing.

#### Syntax

```csharp theme={null}
public System.Nullable<bool> DangerouslyDisableSandbox { get; set; }
```

#### Property Value

Type: `System.Nullable<bool>`

### &#x20;Description

Gets or sets a clear, concise description of what this command does in 5-10 words.

#### Syntax

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

#### Property Value

Type: `string?`

#### Remarks

Should be in active voice. For example: "List files in current directory" or "Install package dependencies".

### &#x20;RunInBackground

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

#### Syntax

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

#### Property Value

Type: `System.Nullable<bool>`

#### Remarks

When `true`, you can monitor the output using subsequent Bash tool calls.
You do not need to use '&' at the end of the command when using this parameter.

### &#x20;Timeout

Gets or sets the optional timeout in milliseconds.

#### Syntax

```csharp theme={null}
public System.Nullable<int> Timeout { get; set; }
```

#### Property Value

Type: `System.Nullable<int>`

#### Remarks

Maximum is 600000 (10 minutes). Default is 120000 (2 minutes).

## Methods

### &#x20;Equals Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

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

#### Parameters

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

#### Returns

Type: `bool`

### &#x20;Equals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

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

#### Parameters

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

#### Returns

Type: `bool`

### &#x20;GetHashCode Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

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

#### Returns

Type: `int`

### &#x20;GetType Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

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

#### Returns

Type: `System.Type`

### &#x20;MemberwiseClone Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

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

#### Returns

Type: `object`

### &#x20;ReferenceEquals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

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

#### Parameters

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

#### Returns

Type: `bool`

### &#x20;ToString Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

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

#### Returns

Type: `string?`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.