BetaAsyncBuiltinFunctionTool Class — anthropic-sdk-python Architecture
Architecture documentation for the BetaAsyncBuiltinFunctionTool class in _beta_functions.py from the anthropic-sdk-python codebase.
Entity Profile
Dependency Diagram
graph TD a076b136_74cf_8d21_4bad_0286750910e3["BetaAsyncBuiltinFunctionTool"] 2f4a4b61_2541_5c7b_c70e_93f4b752f987["_beta_functions.py"] a076b136_74cf_8d21_4bad_0286750910e3 -->|defined in| 2f4a4b61_2541_5c7b_c70e_93f4b752f987 e8916034_d4bd_28d3_503d_525501c3fba8["to_dict()"] a076b136_74cf_8d21_4bad_0286750910e3 -->|method| e8916034_d4bd_28d3_503d_525501c3fba8 685e05ef_3a4c_58b1_2146_7defe2c5a8a6["call()"] a076b136_74cf_8d21_4bad_0286750910e3 -->|method| 685e05ef_3a4c_58b1_2146_7defe2c5a8a6 980c2dc2_1eda_4eea_e1c9_b96c84045c95["name()"] a076b136_74cf_8d21_4bad_0286750910e3 -->|method| 980c2dc2_1eda_4eea_e1c9_b96c84045c95
Relationship Graph
Source Code
src/anthropic/lib/tools/_beta_functions.py lines 48–60
class BetaAsyncBuiltinFunctionTool(ABC):
@abstractmethod
def to_dict(self) -> BetaToolUnionParam: ...
@abstractmethod
async 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 BetaAsyncBuiltinFunctionTool class?
BetaAsyncBuiltinFunctionTool is a class in the anthropic-sdk-python codebase, defined in src/anthropic/lib/tools/_beta_functions.py.
Where is BetaAsyncBuiltinFunctionTool defined?
BetaAsyncBuiltinFunctionTool is defined in src/anthropic/lib/tools/_beta_functions.py at line 48.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free