workspace_export
Export Databricks workspace objects (notebooks or files) in formats like SOURCE, HTML, JUPYTER, DBC, or RAW. Returns decoded text where possible.
Instructions
Export a workspace object (notebook or file).
For notebooks, ``format_`` may be ``SOURCE``, ``HTML``, ``JUPYTER``, or ``DBC``.
For files, use ``RAW`` (returns base64) or omit.
Returns the decoded text where possible.
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": "workspace_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute workspace path of the object to export | |
| format_ | No | Export format: SOURCE | HTML | JUPYTER | RAW (for files); DBC for notebooks | SOURCE |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |