LangChain
Core
Community
Experimental
nvidia-trt
google-genai
anthropic
together
nvidia-ai-endpoints
mistralai
Partner libs
nvidia-trt
google-genai
anthropic
together
nvidia-ai-endpoints
mistralai
Docs
Toggle Menu
Prev
Up
Next
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.