job_history
Retrieve past backup jobs with plan, status, and date filters, including job details and source lines, while excluding scheduled jobs unless requested.
Instructions
Past jobs (P5's job listing only returns scheduled ones, so job ids are walked downward from the newest known id, in batches). Per job: id, plan (describe), task (resourcename), status, completion, start time (server-local, from the protocol), size, files, and the source line ('Full save of: ...'). Scheduled jobs are excluded unless status is 'scheduled'. Filters: plan (name or id), status (status or completion, e.g. completed, running, failure), since (YYYY-MM-DD), limit (default 50).
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": "job_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | Plan name or id | |
| limit | No | Max rows, newest first (default 50) | |
| since | No | Only jobs started on/after this date, YYYY-MM-DD or YYYY-MM-DDTHH:MM | |
| status | No | Job status or completion to match |