LangChain
Core
Community
Experimental
openai
mistralai
robocorp
google-vertexai
nvidia-trt
anthropic
together
nvidia-ai-endpoints
exa
google-genai
Partner libs
openai
mistralai
robocorp
google-vertexai
nvidia-trt
anthropic
together
nvidia-ai-endpoints
exa
google-genai
Docs
Toggle Menu
Prev
Up
Next
langchain_community.tools.bearly.tool
.head_file
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.