tail_file
Read the last lines or bytes from any file in a Colab runtime to inspect background command logs.
Instructions
Returns through Colab Terminal the last lines or bytes from a file in the Colab runtime, useful for background command logs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Runtime file path to read. | |
| lines | No | Number of trailing lines to return. | |
| maxBytes | No | Maximum trailing bytes to read before splitting into lines. |