BetaServerToolUseBlock Class — anthropic-sdk-python Architecture
Architecture documentation for the BetaServerToolUseBlock class in beta_server_tool_use_block.py from the anthropic-sdk-python codebase.
Entity Profile
Dependency Diagram
graph TD d871cded_e6b7_5f04_efb9_a0924f2a11ee["BetaServerToolUseBlock"] 17ce5647_6f06_0676_a4a5_e378a3f57cb1["BaseModel"] d871cded_e6b7_5f04_efb9_a0924f2a11ee -->|extends| 17ce5647_6f06_0676_a4a5_e378a3f57cb1 1b4bf9fe_26d2_d517_8775_4ba0390d6657["beta_server_tool_use_block.py"] d871cded_e6b7_5f04_efb9_a0924f2a11ee -->|defined in| 1b4bf9fe_26d2_d517_8775_4ba0390d6657
Relationship Graph
Source Code
src/anthropic/types/beta/beta_server_tool_use_block.py lines 16–34
class BetaServerToolUseBlock(BaseModel):
id: str
input: Dict[str, object]
name: Literal[
"web_search",
"web_fetch",
"code_execution",
"bash_code_execution",
"text_editor_code_execution",
"tool_search_tool_regex",
"tool_search_tool_bm25",
]
type: Literal["server_tool_use"]
caller: Optional[Caller] = None
"""Tool invocation directly from the model."""
Domain
Extends
Source
Frequently Asked Questions
What is the BetaServerToolUseBlock class?
BetaServerToolUseBlock is a class in the anthropic-sdk-python codebase, defined in src/anthropic/types/beta/beta_server_tool_use_block.py.
Where is BetaServerToolUseBlock defined?
BetaServerToolUseBlock is defined in src/anthropic/types/beta/beta_server_tool_use_block.py at line 16.
What does BetaServerToolUseBlock extend?
BetaServerToolUseBlock extends BaseModel.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free