ipynb_apply_to_notebooks
Apply identical operations across multiple Jupyter notebooks: set kernel, clear outputs, or update metadata in batch.
Instructions
Apply same operation to multiple Jupyter Notebooks (.ipynb).
Args: ipynb_filepaths: List of notebook paths (absolute paths preferred) operation: Operation name ('set_kernel', 'clear_outputs', 'update_metadata') operation_params: Parameters for the operation as a dictionary
Returns: Dict with 'success' and 'results' 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>",
"operation": "<operation>"
},
"name": "ipynb_apply_to_notebooks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | ||
| ipynb_filepaths | Yes | ||
| operation_params | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||