diagnose_job
Diagnose job failures with a single call that combines job metadata and error logs, providing a clear report of what went wrong.
Instructions
Return a focused diagnostic report for a job — the first tool to call when asked 'what went wrong?' or 'why did this job fail?'.
Combines job metadata and error logs in one call, avoiding the need to chain
get_job + get_job_logs. Only use get_job_logs afterward if you need more log
history than tail provides or need to paginate through all entries.
Returns:
job: metadata (state, process, start/end time, duration, robot, error fields)
error_logs: all Error and Fatal log entries for the job
combined_log_view: deduplicated, time-sorted merge of error logs + last
tailentries
Args: job_id: The ID of the job to diagnose. folder_name: The display name of the folder containing the job. tail: Number of most-recent log entries to include for context (default 15).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | ||
| job_id | Yes | ||
| folder_name | Yes |