run_notebook
Execute a Databricks notebook on a specified cluster and wait for results, with optional parameters and timeout control.
Instructions
Execute a notebook and wait for results. Requires specifying an existing cluster or providing cluster configuration.
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": {
"notebook_path": "<notebook_path>",
"cluster_id": "<cluster_id>"
},
"name": "run_notebook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | Yes | ID of an existing cluster to run the notebook on | |
| notebook_path | Yes | Full workspace path to the notebook to run | |
| base_parameters | No | Parameters to pass to the notebook as key-value pairs | |
| timeout_seconds | No | Maximum time to wait for notebook execution (default: 3600) |