LangChain Reference home page
Search...
⌘K
Ask AI
GitHub
Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
⌘I
Chat LangChain
What can I help with?
Enter
to send
·
Shift+Enter
new line
What are deep agents and how do I get started?
How do I build a React app around a Deep Agent?
How do I stream subagent output to my frontend with useStream?
Menu
Navigation
Projects
Deep Agents
Overview
Agent
Middleware
Backends
Sandboxes
Subagents
ACP
Deep Agents Code
Language
Python
JavaScript
Theme
Light
Dark
Python
deepagents
middleware
filesystem
GrepSchema
Class
v0.7.35 (latest)
●
Since v0.7
GrepSchema
Copy
GrepSchema
(
)
Bases
BaseModel
Attributes
View source on GitHub
Version History
attribute
pattern
:
str
attribute
path
:
str
|
None
attribute
glob
:
str
|
None
attribute
output_mode
:
Literal
[
'files_with_matches'
,
'content'
,
'count'
]
attribute
max_count
:
int
|
None
Input schema for the
grep
tool.