Home / Function/ _parse_input() — langchain Function Reference

_parse_input() — langchain Function Reference

Architecture documentation for the _parse_input() function in test_tools.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  ac19b2b5_89f9_8e88_c0dd_b3413cf17b81["_parse_input()"]
  a2ba77b5_663d_ed41_4d61_771f9da12c16["_RaiseNonValidationErrorTool"]
  ac19b2b5_89f9_8e88_c0dd_b3413cf17b81 -->|defined in| a2ba77b5_663d_ed41_4d61_771f9da12c16
  eb5c8164_9a32_83b3_7206_9e8963ae44ed["test_validation_error_handling_non_validation_error()"]
  eb5c8164_9a32_83b3_7206_9e8963ae44ed -->|calls| ac19b2b5_89f9_8e88_c0dd_b3413cf17b81
  b9bab3cd_3acd_21de_17e4_281405c6ed7d["test_async_validation_error_handling_non_validation_error()"]
  b9bab3cd_3acd_21de_17e4_281405c6ed7d -->|calls| ac19b2b5_89f9_8e88_c0dd_b3413cf17b81
  style ac19b2b5_89f9_8e88_c0dd_b3413cf17b81 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/tests/unit_tests/test_tools.py lines 928–933

        def _parse_input(
            self,
            tool_input: str | dict,
            tool_call_id: str | None,
        ) -> str | dict[str, Any]:
            raise NotImplementedError

Domain

Subdomains

Frequently Asked Questions

What does _parse_input() do?
_parse_input() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/test_tools.py.
Where is _parse_input() defined?
_parse_input() is defined in libs/core/tests/unit_tests/test_tools.py at line 928.
What calls _parse_input()?
_parse_input() is called by 2 function(s): test_async_validation_error_handling_non_validation_error, test_validation_error_handling_non_validation_error.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free