notebook_clear_all_outputs
Clear all code cell outputs and execution counts from a Jupyter notebook to prepare it for sharing or version control.
Instructions
Clears outputs and execution counts for all code cells
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "notebook_clear_all_outputs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the notebook |