delete_job
Deletes a SQL Server Agent job and, by default, its history to clean up scheduled jobs managed through sql-mcp.
Instructions
Delete an Agent job (and by default its history).
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": {
"job_name": "<job_name>"
},
"name": "delete_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_name | Yes | ||
| connection | No | ||
| delete_history | No |