update_notebook
Overwrite an existing Databricks notebook with new content by specifying its workspace path and format, replacing the entire notebook to update code or documentation programmatically.
Instructions
Update an existing notebook with new content. This will overwrite the entire notebook.
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>",
"content": "<content>"
},
"name": "update_notebook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Full workspace path to the notebook to update | |
| format | No | Content format (default: SOURCE) | |
| content | Yes | New notebook content |