From 74417a927f4ee2e4f1793c38a10ab22fa5b977cc Mon Sep 17 00:00:00 2001 From: Steven Tan Date: Mon, 9 Mar 2026 18:00:04 +0800 Subject: [PATCH] Add MCP tool references (manage_jobs, manage_job_runs) to jobs skill Documents manage_jobs and manage_job_runs MCP tools with usage examples for create, list, get, delete, run_now, get_run, cancel, and list_runs operations. --- databricks-skills/databricks-jobs/SKILL.md | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/databricks-skills/databricks-jobs/SKILL.md b/databricks-skills/databricks-jobs/SKILL.md index 2f0f8c73..edfeba09 100644 --- a/databricks-skills/databricks-jobs/SKILL.md +++ b/databricks-skills/databricks-jobs/SKILL.md @@ -218,6 +218,43 @@ tasks: custom_param: "value" ``` +## MCP Tool Integration + +Use these MCP tools for job management: + +```python +# Create or update a job +manage_jobs(action="create", job_config={ + "name": "my_etl_job", + "tasks": [{"task_key": "extract", "notebook_task": {"notebook_path": "/src/extract"}}] +}) + +# List all jobs +manage_jobs(action="list") + +# Get job details +manage_jobs(action="get", job_id=12345) + +# Delete a job +manage_jobs(action="delete", job_id=12345) + +# Run a job immediately +manage_job_runs(action="run_now", job_id=12345) + +# Run with parameters +manage_job_runs(action="run_now", job_id=12345, + job_parameters={"env": "prod", "date": "2024-01-15"}) + +# Check run status +manage_job_runs(action="get_run", run_id=67890) + +# Cancel a run +manage_job_runs(action="cancel", run_id=67890) + +# List recent runs for a job +manage_job_runs(action="list_runs", job_id=12345) +``` + ## Common Operations ### Python SDK Operations