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 NotebookEdit tool. The NotebookEdit tool replaces the contents of a specific cell in a Jupyter notebook.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

CellId

Gets or sets the ID of the cell to edit.

Syntax

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.

CellType

Gets or sets the type of the cell.

Syntax

Property Value

Type: string?

Remarks

Options: “code” or “markdown”. If not specified, defaults to the current cell type. Required when using edit_mode=insert.

EditMode

Gets or sets the type of edit to make.

Syntax

Property Value

Type: string?

Remarks

Options: “replace” (default), “insert”, or “delete”.

NewSource

Gets or sets the new source for the cell.

Syntax

Property Value

Type: string

NotebookPath

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

Syntax

Property Value

Type: string

Remarks

Must be an absolute path, not a relative path.

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?