API
Core
Community
Experimental
Python Docs
Toggle Menu
Prev
Up
Next
LangChain 0.0.349
langchain_community.tools.bearly.tool
.head_file
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.