create_job
Create a new Databricks job with tasks, schedules, and dependencies; supports notebook, JAR, Python, and SQL tasks for automated workflow orchestration.
Instructions
Create a new job with tasks, schedules, and dependencies. Supports notebook, JAR, Python, and SQL tasks.
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": {
"name": "<name>"
},
"name": "create_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the job | |
| tags | No | Custom tags as key-value pairs | |
| cluster_id | No | Existing cluster ID to run the job on (use this OR new_cluster config) | |
| max_retries | No | Maximum number of retries on failure | |
| python_file | No | Path to Python file for Python tasks | |
| notebook_path | No | Path to notebook for notebook tasks | |
| schedule_cron | No | Quartz cron expression for scheduling (e.g., "0 0 0 * * ?" for daily at midnight) | |
| timeout_seconds | No | Job timeout in seconds | |
| email_on_failure | No | Email addresses to notify on failure | |
| email_on_success | No | Email addresses to notify on success | |
| python_parameters | No | Parameters for Python tasks | |
| schedule_timezone | No | Timezone for the schedule (e.g., "America/Los_Angeles") | |
| max_concurrent_runs | No | Maximum number of concurrent runs (default: 1) | |
| notebook_parameters | No | Parameters to pass to the notebook |