Home / Class/ BetaToolRunner Class — anthropic-sdk-python Architecture

BetaToolRunner Class — anthropic-sdk-python Architecture

Architecture documentation for the BetaToolRunner class in _beta_runner.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  2ea2ccba_7a71_0cca_0f5d_ff804d40ae9a["BetaToolRunner"]
  34260b96_4096_ba59_bee2_0b2a94476dcc["_beta_runner.py"]
  2ea2ccba_7a71_0cca_0f5d_ff804d40ae9a -->|defined in| 34260b96_4096_ba59_bee2_0b2a94476dcc
  4493fa39_6aa4_ff60_ca14_908ff02f2919["_handle_request()"]
  2ea2ccba_7a71_0cca_0f5d_ff804d40ae9a -->|method| 4493fa39_6aa4_ff60_ca14_908ff02f2919

Relationship Graph

Source Code

src/anthropic/lib/tools/_beta_runner.py lines 349–355

class BetaToolRunner(BaseSyncToolRunner[ParsedBetaMessage[ResponseFormatT], ResponseFormatT]):
    @override
    @contextmanager
    def _handle_request(self) -> Iterator[ParsedBetaMessage[ResponseFormatT]]:
        message = self._client.beta.messages.parse(**self._params, **self._options)
        self._last_message = message
        yield message

Frequently Asked Questions

What is the BetaToolRunner class?
BetaToolRunner is a class in the anthropic-sdk-python codebase, defined in src/anthropic/lib/tools/_beta_runner.py.
Where is BetaToolRunner defined?
BetaToolRunner is defined in src/anthropic/lib/tools/_beta_runner.py at line 349.

Analyze Your Own Codebase

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

Try Supermodel Free