BetaBuiltinFunctionTool Class — anthropic-sdk-python Architecture
Architecture documentation for the BetaBuiltinFunctionTool class in _beta_functions.py from the anthropic-sdk-python codebase.
Entity Profile
Dependency Diagram
graph TD 6f841778_0364_167a_4fa4_ad1b5aa754ea["BetaBuiltinFunctionTool"] 2f4a4b61_2541_5c7b_c70e_93f4b752f987["_beta_functions.py"] 6f841778_0364_167a_4fa4_ad1b5aa754ea -->|defined in| 2f4a4b61_2541_5c7b_c70e_93f4b752f987 04628812_0eb0_f282_1ea1_a8e3ece2b813["to_dict()"] 6f841778_0364_167a_4fa4_ad1b5aa754ea -->|method| 04628812_0eb0_f282_1ea1_a8e3ece2b813 07f3aff7_f12d_6b31_515c_f0e39d4fad0d["call()"] 6f841778_0364_167a_4fa4_ad1b5aa754ea -->|method| 07f3aff7_f12d_6b31_515c_f0e39d4fad0d baf9a1f8_c63a_fb87_4213_fcd2c3959199["name()"] 6f841778_0364_167a_4fa4_ad1b5aa754ea -->|method| baf9a1f8_c63a_fb87_4213_fcd2c3959199
Relationship Graph
Source Code
src/anthropic/lib/tools/_beta_functions.py lines 33–45
class BetaBuiltinFunctionTool(ABC):
@abstractmethod
def to_dict(self) -> BetaToolUnionParam: ...
@abstractmethod
def call(self, input: object) -> BetaFunctionToolResultType: ...
@property
def name(self) -> str:
raw = self.to_dict()
if "mcp_server_name" in raw:
return raw["mcp_server_name"]
return raw["name"]
Domain
Defined In
Source
Frequently Asked Questions
What is the BetaBuiltinFunctionTool class?
BetaBuiltinFunctionTool is a class in the anthropic-sdk-python codebase, defined in src/anthropic/lib/tools/_beta_functions.py.
Where is BetaBuiltinFunctionTool defined?
BetaBuiltinFunctionTool is defined in src/anthropic/lib/tools/_beta_functions.py at line 33.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free