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

ServerToolUsage Class — anthropic-sdk-python Architecture

Architecture documentation for the ServerToolUsage class in server_tool_usage.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  2ed9a3b4_c55e_1be3_6001_1c37aa7f37ea["ServerToolUsage"]
  17ce5647_6f06_0676_a4a5_e378a3f57cb1["BaseModel"]
  2ed9a3b4_c55e_1be3_6001_1c37aa7f37ea -->|extends| 17ce5647_6f06_0676_a4a5_e378a3f57cb1
  b775b1d4_72b6_5c83_0c90_03984dbc3aa7["server_tool_usage.py"]
  2ed9a3b4_c55e_1be3_6001_1c37aa7f37ea -->|defined in| b775b1d4_72b6_5c83_0c90_03984dbc3aa7

Relationship Graph

Source Code

src/anthropic/types/server_tool_usage.py lines 8–10

class ServerToolUsage(BaseModel):
    web_search_requests: int
    """The number of web search tool requests."""

Extends

Frequently Asked Questions

What is the ServerToolUsage class?
ServerToolUsage is a class in the anthropic-sdk-python codebase, defined in src/anthropic/types/server_tool_usage.py.
Where is ServerToolUsage defined?
ServerToolUsage is defined in src/anthropic/types/server_tool_usage.py at line 8.
What does ServerToolUsage extend?
ServerToolUsage extends BaseModel.

Analyze Your Own Codebase

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

Try Supermodel Free