workspace_import
Import notebooks or files into a Databricks workspace by specifying destination path and content. Supports multiple formats including SOURCE, HTML, JUPYTER, RAW, and DBC.
Instructions
Import a workspace object (notebook or file).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute workspace path of the destination | |
| content | Yes | File/notebook content as text (or base64-encoded for binary) | |
| format_ | No | Import format: SOURCE | HTML | JUPYTER | RAW | DBC | SOURCE |
| language | No | For notebooks: PYTHON | R | SCALA | SQL | SQLPYTHON | |
| overwrite | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |