read_notebook
Retrieves the full content of a Databricks notebook by workspace path and returns it in SOURCE, HTML, JUPYTER, or DBC format, so you can inspect or export notebook code.
Instructions
Read the complete content of a notebook. Returns the notebook code/content in the specified format.
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": "read_notebook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Full workspace path to the notebook (e.g., "/Users/user@example.com/MyNotebook") | |
| format | No | Export format (default: SOURCE) |