Get Failed SQL Agent Jobs
mssql_agent_failed_jobsLists SQL Agent jobs that failed in the last 7 days, including failure date, time, and error message, to help troubleshoot and resolve job failures.
Instructions
SQL Agent failed jobs: jobs that failed in the last 7 days, with date, time and error message. Not available on Azure SQL Database.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mssql_agent_failed_jobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||