create_job
Set up a new Databricks job to execute a notebook, with serverless mode as default, and define parameters, timeout, or cluster configurations as needed.
Instructions
Create a new Databricks job to run a notebook (uses serverless by default)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cluster_id | No | ||
job_name | Yes | ||
notebook_path | Yes | ||
parameters | No | ||
timeout_seconds | No | ||
use_serverless | No |
Input Schema (JSON Schema)
{
"properties": {
"cluster_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Cluster Id"
},
"job_name": {
"title": "Job Name",
"type": "string"
},
"notebook_path": {
"title": "Notebook Path",
"type": "string"
},
"parameters": {
"anyOf": [
{
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Parameters"
},
"timeout_seconds": {
"default": 3600,
"title": "Timeout Seconds",
"type": "integer"
},
"use_serverless": {
"default": true,
"title": "Use Serverless",
"type": "boolean"
}
},
"required": [
"job_name",
"notebook_path"
],
"title": "create_jobArguments",
"type": "object"
}