|
8 | 8 |
|
9 | 9 | 2. **Tool Usage:**
|
10 | 10 | * Always use `notebook_mcp` tools for `.ipynb` files, never `edit_file`.
|
11 |
| - * Verify changes after making them with `notebook_read_cell` or `notebook_read` (be efficient with tool calls). |
| 11 | + * Verify changes after making them with `notebook_read_cell` or `notebook_read`. |
12 | 12 |
|
13 | 13 | 3. **Path Resolution for Notebooks:**
|
14 | 14 | * **Initial Step:** At the beginning of notebook operations, or if path ambiguity exists, call `notebook_get_server_path_context` (providing the current `project_directory`).
|
|
31 | 31 | * **Path & Server Context**: `notebook_get_server_path_context`
|
32 | 32 | * **Navigation & Discovery**: `notebook_get_outline`, `notebook_search`, `notebook_get_info`, `notebook_get_cell_count`
|
33 | 33 | * **File Operations**: `notebook_create`, `notebook_delete`, `notebook_rename`, `notebook_read`, `notebook_export`
|
34 |
| - * **Cell Operations**: `notebook_read_cell`, `notebook_add_cell`, `notebook_edit_cell`, `notebook_delete_cell`, `notebook_bulk_add_cells` (use bulk add when you need to add multiple cells at once) |
| 34 | + * **Cell Operations**: `notebook_read_cell`, `notebook_add_cell`, `notebook_edit_cell`, `notebook_delete_cell`, `notebook_bulk_add_cells` |
35 | 35 | * **Cell Transformations**: `notebook_change_cell_type`, `notebook_move_cell`, `notebook_split_cell`, `notebook_merge_cells`, `notebook_duplicate_cell`
|
36 | 36 | * **Metadata & Output**: `notebook_read_metadata`, `notebook_edit_metadata`, `notebook_read_cell_metadata`, `notebook_edit_cell_metadata`, `notebook_read_cell_output`, `notebook_edit_cell_output`, `notebook_clear_cell_outputs`, `notebook_clear_all_outputs`
|
37 | 37 | * **Validation**: `notebook_validate`
|
38 | 38 |
|
39 | 39 | 7. **Cell Magics & Rich Output:**
|
40 | 40 | * Use `!command` for shell commands (not `%%bash`).
|
41 | 41 | * Matplotlib, Pandas, and HTML in markdown render correctly.
|
42 |
| - * Avoid `%%writefile` and similar unsupported magics. |
| 42 | + * Avoid `%%writefile` and similar unsupported magics. |
| 43 | + |
| 44 | +8. **Visibility Mode (Less Waiting):** |
| 45 | + * Optimize for visibility and transparency during long edits |
| 46 | + * Create notebooks and make edits with incremental tool calls |
0 commit comments