> ## 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.

# NotebookEditToolInput

> Represents the input parameters for the NotebookEdit tool. The NotebookEdit tool replaces the contents of a specific cell in a Jupyter notebook.

## Definition

**Assembly:** CloudNimble.ClaudeEssentials.dll

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

**Inheritance:** System.Object

## Syntax

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

## Summary

Represents the input parameters for the NotebookEdit tool.
The NotebookEdit tool replaces the contents of a specific cell in a Jupyter notebook.

## Constructors

### &#x20;.ctor

#### Syntax

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

### &#x20;.ctor Inherited

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

#### Syntax

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

## Properties

### &#x20;CellId

Gets or sets the ID of the cell to edit.

#### Syntax

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

#### Property Value

Type: `string?`

#### Remarks

When inserting a new cell, the new cell will be inserted after the cell with this ID,
or at the beginning if not specified.

### &#x20;CellType

Gets or sets the type of the cell.

#### Syntax

```csharp theme={null}
public System.Nullable<CloudNimble.ClaudeEssentials.Hooks.NotebookCellType> CellType { get; set; }
```

#### Property Value

Type: `System.Nullable<CloudNimble.ClaudeEssentials.Hooks.NotebookCellType>`

#### Remarks

See [NotebookCellType](https://ai.easyaf.dev/claudeessentials/api-reference/CloudNimble/ClaudeEssentials/Hooks/NotebookCellType.md) for possible values. If not specified, defaults to the current cell type.
Required when using edit\_mode=insert.

### &#x20;EditMode

Gets or sets the type of edit to make.

#### Syntax

```csharp theme={null}
public System.Nullable<CloudNimble.ClaudeEssentials.Hooks.NotebookEditMode> EditMode { get; set; }
```

#### Property Value

Type: `System.Nullable<CloudNimble.ClaudeEssentials.Hooks.NotebookEditMode>`

#### Remarks

See [NotebookEditMode](https://ai.easyaf.dev/claudeessentials/api-reference/CloudNimble/ClaudeEssentials/Hooks/NotebookEditMode.md) for possible values. Defaults to [NotebookEditMode.Replace](https://ai.easyaf.dev/claudeessentials/api-reference/CloudNimble/ClaudeEssentials/Hooks/NotebookEditMode.md#replace).

### &#x20;NewSource

Gets or sets the new source for the cell.

#### Syntax

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

#### Property Value

Type: `string`

### &#x20;NotebookPath

Gets or sets the absolute path to the Jupyter notebook file to edit.

#### Syntax

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

#### Property Value

Type: `string`

#### Remarks

Must be an absolute path, not a relative path.

## 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.