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