create_notebook
Creates a new notebook in a Databricks workspace at a specified path, with optional initial content and support for Python, Scala, SQL, or R.
Instructions
Create a new notebook in the workspace with optional initial content. Supports Python, Scala, SQL, and R.
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": "create_notebook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Full workspace path for the new notebook (e.g., "/Users/user@example.com/NewNotebook") | |
| format | No | Content format (default: SOURCE) | |
| content | No | Initial notebook content/code (optional) | |
| language | No | Notebook language (default: PYTHON) |