mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
hanzo-tools-jupyter
Jupyter notebook tools for Hanzo MCP.
Installation
pip install hanzo-tools-jupyter
Tools
jupyter - Notebook Operations
Read and edit Jupyter notebooks.
Read notebook:
jupyter(action="read", path="/path/to/notebook.ipynb")
jupyter(action="read", path="/path/to/notebook.ipynb", cell=5) # Specific cell
Edit cell:
jupyter(
action="edit",
path="/path/to/notebook.ipynb",
cell=5,
content="print('Hello, World!')"
)
Insert cell:
jupyter(
action="insert",
path="/path/to/notebook.ipynb",
after_cell=5,
content="# New cell",
cell_type="markdown"
)
Delete cell:
jupyter(
action="delete",
path="/path/to/notebook.ipynb",
cell=5
)
List cells:
jupyter(action="list", path="/path/to/notebook.ipynb")
Cell Types
code- Python code cellmarkdown- Markdown text cellraw- Raw text cell
License
MIT