job_logs
Retrieve tail lines from a Kratos simulation job log, filter by case-insensitive substring, and select an MPI rank to inspect rank-specific output for debugging.
Instructions
Return the last 'tail' lines of a job's simulation log, optionally only lines containing the 'grep' substring (case-insensitive). For MPI jobs, 'rank' selects another rank's log (job_status lists rank_logs); rank 0 / unset is the main log.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grep | No | ||
| rank | No | ||
| tail | No | ||
| job_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||