test_empty_string_tool_call_id() — langchain Function Reference
Architecture documentation for the test_empty_string_tool_call_id() function in test_tools.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 860902df_5140_079c_1178_7f12ebfad692["test_empty_string_tool_call_id()"] 8e7836ae_e72c_f670_72a5_4ca6d46e3555["test_tools.py"] 860902df_5140_079c_1178_7f12ebfad692 -->|defined in| 8e7836ae_e72c_f670_72a5_4ca6d46e3555 b621c544_d6db_7e8d_7240_9ce08870d71a["foo()"] 860902df_5140_079c_1178_7f12ebfad692 -->|calls| b621c544_d6db_7e8d_7240_9ce08870d71a style 860902df_5140_079c_1178_7f12ebfad692 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/tests/unit_tests/test_tools.py lines 2705–2713
def test_empty_string_tool_call_id() -> None:
@tool
def foo(x: int) -> str:
"""Foo."""
return "hi"
assert foo.invoke({"type": "tool_call", "args": {"x": 0}, "id": ""}) == ToolMessage(
content="hi", name="foo", tool_call_id=""
)
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does test_empty_string_tool_call_id() do?
test_empty_string_tool_call_id() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/test_tools.py.
Where is test_empty_string_tool_call_id() defined?
test_empty_string_tool_call_id() is defined in libs/core/tests/unit_tests/test_tools.py at line 2705.
What does test_empty_string_tool_call_id() call?
test_empty_string_tool_call_id() calls 1 function(s): foo.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free