Home / Function/ test_tool_runner_method_in_sync() — anthropic-sdk-python Function Reference

test_tool_runner_method_in_sync() — anthropic-sdk-python Function Reference

Architecture documentation for the test_tool_runner_method_in_sync() function in test_runners.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  0af5aa37_6fcf_d4a1_5755_a1efdf90f747["test_tool_runner_method_in_sync()"]
  8ecd4321_1ed7_9c90_8d23_e61f807683d3["test_runners.py"]
  0af5aa37_6fcf_d4a1_5755_a1efdf90f747 -->|defined in| 8ecd4321_1ed7_9c90_8d23_e61f807683d3
  style 0af5aa37_6fcf_d4a1_5755_a1efdf90f747 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/lib/tools/test_runners.py lines 603–615

def test_tool_runner_method_in_sync(sync: bool, client: Anthropic, async_client: AsyncAnthropic) -> None:
    checking_client: "Anthropic | AsyncAnthropic" = client if sync else async_client

    assert_signatures_in_sync(
        checking_client.beta.messages.create,
        checking_client.beta.messages.tool_runner,
        exclude_params={
            "tools",
            "output_format",
            # TODO
            "stream",
        },
    )

Subdomains

Frequently Asked Questions

What does test_tool_runner_method_in_sync() do?
test_tool_runner_method_in_sync() is a function in the anthropic-sdk-python codebase, defined in tests/lib/tools/test_runners.py.
Where is test_tool_runner_method_in_sync() defined?
test_tool_runner_method_in_sync() is defined in tests/lib/tools/test_runners.py at line 603.

Analyze Your Own Codebase

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

Try Supermodel Free