Skip to main content

Definition

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

Syntax

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

.ctor

Syntax

public NotebookEditToolInput()

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

CellId

Gets or sets the ID of the cell to edit.

Syntax

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.

CellType

Gets or sets the type of the cell.

Syntax

public string CellType { get; set; }

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

public string EditMode { get; set; }

Property Value

Type: string?

Remarks

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

NewSource

Gets or sets the new source for the cell.

Syntax

public string NewSource { get; set; }

Property Value

Type: string

NotebookPath

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

Syntax

public string NotebookPath { get; set; }

Property Value

Type: string

Remarks

Must be an absolute path, not a relative path.

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?