hpc_fetch_log
Retrieve the tail of a log file from a DTU HPC project jail. Provide the file path and optionally the number of bytes (max 512KB) to read from the end.
Instructions
Read a log or small text file from inside the project jail (tail semantics).
Args: path: Absolute remote path, must be under an allowed project root. max_bytes: How much of the end of the file to return (cap 512KB).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| max_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |