langchain.tools.bearly.tool.head_file

langchain.tools.bearly.tool.head_file(path: str, n: int) List[str][source]

Get the first n lines of a file.