delete_job
Delete a Kubernetes job and its pods, optionally previewing the action with a dry run. Use for cleanup or failed jobs; no undo.
Instructions
[WRITE][risk=high] Delete a job and its pods. HIGH RISK — no undo.
Pass dry_run=True to preview without deleting.
Args: name: Job name. namespace: Namespace; omit for the target's default namespace. dry_run: If True, preview without deleting. target: k8s target name from config.
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": {
"name": "<name>"
},
"name": "delete_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| target | No | ||
| dry_run | No | ||
| namespace | No |