Diagnose why a job failed
diagnose_jobRetrieve the latest backup job session, identify failure or warning log records, and diagnose the root cause of job failures to propose fixes.
Instructions
One-shot triage: given a job ID, find its most recent session, read the failure/warning log records, and return the job state, the latest session result, and the log entries flagged Failed/Warning so you can explain the root cause and propose a fix. Start here whenever the user asks "why is failing?".
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": {
"jobId": "<jobId>"
},
"name": "diagnose_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | Job ID (GUID) from list_jobs |