head_file
Retrieve the first N lines of a text file from a specified path. Define the number of lines and encoding for efficient file previews in the 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 |