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

ToolChoiceToolParam Class — anthropic-sdk-python Architecture

Architecture documentation for the ToolChoiceToolParam class in tool_choice_tool_param.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  252124d9_1d57_4a24_1e64_9b10d57a5784["ToolChoiceToolParam"]
  76853469_89fb_64f2_14ae_12ec2c9b4296["tool_choice_tool_param.py"]
  252124d9_1d57_4a24_1e64_9b10d57a5784 -->|defined in| 76853469_89fb_64f2_14ae_12ec2c9b4296

Relationship Graph

Source Code

src/anthropic/types/tool_choice_tool_param.py lines 10–23

class ToolChoiceToolParam(TypedDict, total=False):
    """The model will use the specified tool with `tool_choice.name`."""

    name: Required[str]
    """The name of the tool to use."""

    type: Required[Literal["tool"]]

    disable_parallel_tool_use: bool
    """Whether to disable parallel tool use.

    Defaults to `false`. If set to `true`, the model will output exactly one tool
    use.
    """

Frequently Asked Questions

What is the ToolChoiceToolParam class?
ToolChoiceToolParam is a class in the anthropic-sdk-python codebase, defined in src/anthropic/types/tool_choice_tool_param.py.
Where is ToolChoiceToolParam defined?
ToolChoiceToolParam is defined in src/anthropic/types/tool_choice_tool_param.py at line 10.

Analyze Your Own Codebase

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

Try Supermodel Free