ServerToolUseBlock Class — anthropic-sdk-python Architecture
Architecture documentation for the ServerToolUseBlock class in server_tool_use_block.py from the anthropic-sdk-python codebase.
Entity Profile
Dependency Diagram
graph TD ef50e7f8_c97f_3caa_daef_59a0a478750b["ServerToolUseBlock"] 17ce5647_6f06_0676_a4a5_e378a3f57cb1["BaseModel"] ef50e7f8_c97f_3caa_daef_59a0a478750b -->|extends| 17ce5647_6f06_0676_a4a5_e378a3f57cb1 78627741_c7b7_07ee_0934_4ebc83a09460["server_tool_use_block.py"] ef50e7f8_c97f_3caa_daef_59a0a478750b -->|defined in| 78627741_c7b7_07ee_0934_4ebc83a09460
Relationship Graph
Source Code
src/anthropic/types/server_tool_use_block.py lines 11–18
class ServerToolUseBlock(BaseModel):
id: str
input: Dict[str, object]
name: Literal["web_search"]
type: Literal["server_tool_use"]
Domain
Defined In
Extends
Source
Frequently Asked Questions
What is the ServerToolUseBlock class?
ServerToolUseBlock is a class in the anthropic-sdk-python codebase, defined in src/anthropic/types/server_tool_use_block.py.
Where is ServerToolUseBlock defined?
ServerToolUseBlock is defined in src/anthropic/types/server_tool_use_block.py at line 11.
What does ServerToolUseBlock extend?
ServerToolUseBlock extends BaseModel.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free