head_file
Extract the first N lines from a text file to quickly preview content. Specify file path, line count, and encoding for efficient file analysis using MCP Filesystem Server.
Instructions
Read the first N lines of a text file.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
encoding | No | utf-8 | |
lines | No | ||
path | Yes |