Executed Notebook Tools#
Configuration File: executed_notebook_tools.json
Tool Type: Local
Tools Count: 1
This page contains all tools defined in the executed_notebook_tools.json configuration file.
Available Tools#
read_executed_notebook (Type: ExecutedNotebookTool)#
Read a Jupyter notebook (.ipynb) that the user has named and asked you to explain, review, debug …
read_executed_notebook tool specification
Tool Information:
Name:
read_executed_notebookType:
ExecutedNotebookToolDescription: Read a Jupyter notebook (.ipynb) that the user has named and asked you to explain, review, debug or port, and return its cells (source and printed outputs) as structured JSON, with the cells that drop samples or filter rows flagged for review. Not a source of answers: do not use it to read the result of an analysis you were asked to perform from a pre-run notebook found next to the data; compute that result from the raw data yourself. Takes an explicit notebook path only (it does not search folders). Optionally filters cells by a comma-separated search term list or a regex.
Parameters:
notebook_path(string) (required) Path to the .ipynb file the user asked you to review.search(string) (optional) Optional: comma-separated terms (or regex if regex=true). Cells whose source or output contains any term are returned in ‘matching_cells’. Case-insensitive. Example: ‘upregulated,log2FoldChange’ or ‘padj.*0.05’regex(boolean) (optional) Treat ‘search’ as a Python regex instead of a comma-separated term list (default: false)max_output_chars(integer) (optional) Truncate each cell source/output to this many characters (default 400)include_source(boolean) (optional) Include cell source code in the response (default true). Set false to halve response size when you only need outputs.
Example Usage:
query = {
"name": "read_executed_notebook",
"arguments": {
"notebook_path": "example_value"
}
}
result = tu.run(query)