LangChain
Core
Community
Experimental
robocorp
openai
together
google-genai
nvidia-ai-endpoints
google-vertexai
anthropic
exa
mistralai
nvidia-trt
Partner libs
robocorp
openai
together
google-genai
nvidia-ai-endpoints
google-vertexai
anthropic
exa
mistralai
nvidia-trt
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.