ipynb_clear_outputs
Remove all outputs from code cells in one or more Jupyter notebook files, making them easier to share or version.
Instructions
Clear all outputs from code cells in one or more Jupyter Notebooks (.ipynb).
Args: ipynb_filepaths: Single filepath or list of filepaths (absolute paths preferred)
Returns: Dict with 'success' and 'notebooks_processed' or 'error' key
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": {
"ipynb_filepaths": "<ipynb_filepaths>"
},
"name": "ipynb_clear_outputs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ipynb_filepaths | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||