langchain_community.tools.bearly.tool.head_file¶

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

Get the first n lines of a file.

Parameters
  • path (str) –

  • n (int) –

Return type

List[str]