ssh_head_file
Retrieves the first N lines of a remote file over SSH, enabling quick inspection of file headers or logs.
Instructions
Get the first N lines of a file.
Args: path: Path to the file lines: Number of lines from the beginning (default: 50) session_name: SSH session to use
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| lines | No | ||
| session_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |