fetch_job_run_context
Fetch complete Databricks job run context—metadata, task details, stage metrics, SQL text, and Spark plan evidence—to diagnose performance issues with AI analysis.
Instructions
Return the full Databricks run context: run metadata, task details, stage-level metrics, SQL text, and Spark plan evidence ready for AI analysis.
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": {
"run_id": "<run_id>"
},
"name": "fetch_job_run_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | No | ||
| run_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||