56,641 tools
update_cell_source
Replace the source of an existing code or Markdown cell after reviewing or debugging it. This does not execute the cell. Cells accept Jupyte…
delete_cell
Remove a cell from the notebook. The user can undo the deletion from the notebook.
move_cell
Move a cell one position up or down in the notebook.
run_python_cell
Execute one existing Python cell in the in-browser kernel and return its text output, table summary, or error.
run_all_cells
Execute every Python code cell of the open notebook from top to bottom in the shared in-browser kernel, exactly like the Run all toolbar but…
comment_on_cell
Attach a visible review, explanation, or debugging comment to an existing notebook cell.
read_cells_for_summary
When the user asks for a summary of each cell: read every cell (source, kind, status, output preview), write a one- or two-line summary per …
set_cell_summaries
Display the summaries you wrote under the matching notebook cells (1-2 lines each). Pass an empty summary to clear one. Summaries also appea…
summarize_notebook
Return a concise structural summary of the notebook, including sections, code imports, execution state, and outputs.
suggest_python_completion
Return context-aware Python code completions for the cursor in a notebook cell, including notebook symbols and pandas, NumPy, matplotlib, an…
find_file_bugs
Statically analyze any project file and list problems with line numbers: Python syntax errors, undefined names, unused imports, unreachable …
get_problems
List the problems currently shown in the Problems panel, including runtime errors captured from executed cells and files.
find_cell_errors
List every notebook cell whose latest execution failed, including its source and captured traceback.
diagnose_cell_error
Inspect a failed cell and return a focused debugging suggestion based on its latest traceback.
list_kernel_variables
List the variables defined in the Python kernel with their type, shape or length, and a short preview.
modify_chart
Change an existing chart type, title, color, axes, labels, or data values in a notebook cell.
explain_chart
Explain the variables, range, average, extrema, and trend in an interactive notebook chart.
list_project_files
List the Explorer folders, their colors, and files with their paths.
read_project_file
Return the full text of any project file (Python, Markdown, CSV, text, JSON) or the cells of a notebook.
edit_project_file
Edit any non-notebook project file: replace its whole content, or find and replace an exact snippet (optionally every occurrence). The file …
preview_project_file
Open a project file in the editor. Supports notebooks, CSV, Markdown, text, JSON, and Python files listed in Explorer.
create_project_file
Create a new editable Python, Markdown, text, CSV, or JSON file in an Explorer folder.
get_file_path
Return the relative and project-rooted path of a file so it can be copied or referenced in code.
set_project_folder_color
Assign a color to a folder in Explorer.
rename_project_file
Rename a file, notebook, or folder in Explorer with the same rules as the Explorer rename dialog. Pass the path shown by list_project_files …
delete_project_file
Delete a file, notebook, or folder from Explorer, closing its editor tab and clearing its Problems entries. Deleting a folder also deletes t…
move_project_file
Move a file or notebook into another Explorer folder, which changes the relative path that Python code must use to open it. Pass folderPath …
import_notebook_from_url
Import a public Jupyter notebook from a GitHub, GitLab, Bitbucket, or Kaggle-hosted HTTPS .ipynb link. Replaces the current notebook after v…
import_notebook_from_json
Create and open a new notebook from raw .ipynb JSON text that you fetched yourself. Use this whenever import_notebook_from_url cannot reach …
get_notebook_ipynb
Serialize a notebook to Jupyter nbformat 4 JSON, identical to what the Export .ipynb button downloads, including every cell source, captured…
profile_csv_file
Inspect a CSV file from Explorer and return its dimensions, missing values, inferred column types, distinct counts, and a small sample.
clean_csv_file
Clean a CSV file in Explorer by dropping empty rows, removing duplicate rows, or both. The updated CSV remains editable in the project.
open_data_wrangler
Open the Data Wrangler drawer for a CSV file, for the DataFrame output of a cell, or for a DataFrame variable in the kernel.
get_cell_table
Return the columns, dtypes, and rows (up to 1000) of the DataFrame shown under a cell.
run_python_terminal_command
Execute Python, pip install, pip list, or browser environment commands in the docked terminal using the shared in-browser kernel.
read_terminal_output
Read the visible terminal transcript, active browser environment, and available environments before choosing the next command.
create_python_environment
Create and activate a named conda-style browser environment, restarting the shared notebook kernel with isolated variables.
install_python_packages
Install one or more Pyodide-compatible Python packages with pip in the active or selected browser environment and show the result in the ter…
run_project_python_file
Open and run a Python file from Explorer in the shared browser kernel. Text output is sent to the terminal and generated charts are opened i…
restart_kernel
Restart the shared in-browser Pyodide kernel like the Restart toolbar button: every variable, import, and execution count is dropped and all…