FileData Class — langchain Architecture
Architecture documentation for the FileData class in anthropic_tools.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 624bfb20_6f6e_42fe_51b0_1c808c2ab83f["FileData"] 5f8ab4b6_f98f_f653_1208_76332f94ecba["anthropic_tools.py"] 624bfb20_6f6e_42fe_51b0_1c808c2ab83f -->|defined in| 5f8ab4b6_f98f_f653_1208_76332f94ecba
Relationship Graph
Source Code
libs/partners/anthropic/langchain_anthropic/middleware/anthropic_tools.py lines 47–57
class FileData(TypedDict):
"""Data structure for storing file contents."""
content: list[str]
"""Lines of the file."""
created_at: str
"""ISO 8601 timestamp of file creation."""
modified_at: str
"""ISO 8601 timestamp of last modification."""
Source
Frequently Asked Questions
What is the FileData class?
FileData is a class in the langchain codebase, defined in libs/partners/anthropic/langchain_anthropic/middleware/anthropic_tools.py.
Where is FileData defined?
FileData is defined in libs/partners/anthropic/langchain_anthropic/middleware/anthropic_tools.py at line 47.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free