π File detail
tools/NotebookEditTool/prompt.ts
π― Use case
This module implements the βNotebookEditToolβ tool (Notebook Edit) β something the model can call at runtime alongside other agent tools. On the API surface it exposes DESCRIPTION and PROMPT β mainly types, interfaces, or factory objects.
Generated from folder role, exports, dependency roots, and inline comments β not hand-reviewed for every path.
π§ Inline summary
export const DESCRIPTION = 'Replace the contents of a specific cell in a Jupyter notebook.' export const PROMPT = `Completely replaces the contents of a specific cell in a Jupyter notebook (.ipynb file) with new source. Jupyter notebooks are interactive documents that combine code, text, and visualizations, commonly used for data analysis and scientific computing. The notebook_path parameter must
π€ Exports (heuristic)
DESCRIPTIONPROMPT
π₯οΈ Source preview
export const DESCRIPTION = 'Replace the contents of a specific cell in a Jupyter notebook.' export const PROMPT = `Completely replaces the contents of a specific cell in a Jupyter notebook (.ipynb file) with new source. Jupyter notebooks are interactive documents that combine code, text, and visualizations, commonly used for data analysis and scientific computing. The notebook_path parameter must be an absolute path, not a relative path. The cell_number is 0-indexed. Use edit_mode=insert to add a new cell at the index specified by cell_number. Use edit_mode=delete to delete the cell at the index specified by cell_number.`