_RaiseNonValidationErrorTool Class — langchain Architecture
Architecture documentation for the _RaiseNonValidationErrorTool class in test_tools.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD a2ba77b5_663d_ed41_4d61_771f9da12c16["_RaiseNonValidationErrorTool"] 18e85ff8_9a5d_f800_f722_027398dc89e7["BaseTool"] a2ba77b5_663d_ed41_4d61_771f9da12c16 -->|extends| 18e85ff8_9a5d_f800_f722_027398dc89e7 8e7836ae_e72c_f670_72a5_4ca6d46e3555["test_tools.py"] a2ba77b5_663d_ed41_4d61_771f9da12c16 -->|defined in| 8e7836ae_e72c_f670_72a5_4ca6d46e3555 ac19b2b5_89f9_8e88_c0dd_b3413cf17b81["_parse_input()"] a2ba77b5_663d_ed41_4d61_771f9da12c16 -->|method| ac19b2b5_89f9_8e88_c0dd_b3413cf17b81 f617114d_4ad2_5953_a83a_9b0ebc04de92["_run()"] a2ba77b5_663d_ed41_4d61_771f9da12c16 -->|method| f617114d_4ad2_5953_a83a_9b0ebc04de92 64381dfa_b2c6_09b3_7298_dd2c2576c764["_arun()"] a2ba77b5_663d_ed41_4d61_771f9da12c16 -->|method| 64381dfa_b2c6_09b3_7298_dd2c2576c764
Relationship Graph
Source Code
libs/core/tests/unit_tests/test_tools.py lines 924–941
class _RaiseNonValidationErrorTool(BaseTool):
name: str = "raise_non_validation_error_tool"
description: str = "A tool that raises a non-validation error"
def _parse_input(
self,
tool_input: str | dict,
tool_call_id: str | None,
) -> str | dict[str, Any]:
raise NotImplementedError
@override
def _run(self) -> str:
return "dummy"
@override
async def _arun(self) -> str:
return "dummy"
Defined In
Extends
Source
Frequently Asked Questions
What is the _RaiseNonValidationErrorTool class?
_RaiseNonValidationErrorTool is a class in the langchain codebase, defined in libs/core/tests/unit_tests/test_tools.py.
Where is _RaiseNonValidationErrorTool defined?
_RaiseNonValidationErrorTool is defined in libs/core/tests/unit_tests/test_tools.py at line 924.
What does _RaiseNonValidationErrorTool extend?
_RaiseNonValidationErrorTool extends BaseTool.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free