πŸ“„ File detail

tools/NotebookEditTool/prompt.ts

🧩 .tsπŸ“ 4 linesπŸ’Ύ 632 bytesπŸ“ text
← Back to All Files

🎯 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)

  • DESCRIPTION
  • PROMPT

πŸ–₯️ 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.`