Home / File/ tool_choice_tool_param.py — anthropic-sdk-python Source File

tool_choice_tool_param.py — anthropic-sdk-python Source File

Architecture documentation for tool_choice_tool_param.py, a python file in the anthropic-sdk-python codebase. 1 imports, 3 dependents.

File python AnthropicClient 1 imports 3 dependents 1 classes

Entity Profile

Dependency Diagram

graph LR
  76853469_89fb_64f2_14ae_12ec2c9b4296["tool_choice_tool_param.py"]
  37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"]
  76853469_89fb_64f2_14ae_12ec2c9b4296 --> 37c05070_ca59_d596_7250_de9d1939227f
  2eb1aa7f_c778_4d68_0a26_a102fadd9638["__init__.py"]
  2eb1aa7f_c778_4d68_0a26_a102fadd9638 --> 76853469_89fb_64f2_14ae_12ec2c9b4296
  323219cc_84cd_94e9_ae78_777a62f2a45c["message_create_params.py"]
  323219cc_84cd_94e9_ae78_777a62f2a45c --> 76853469_89fb_64f2_14ae_12ec2c9b4296
  e379b36a_6cc4_73cb_a38b_f2eb2d9f7dc8["tool_choice_param.py"]
  e379b36a_6cc4_73cb_a38b_f2eb2d9f7dc8 --> 76853469_89fb_64f2_14ae_12ec2c9b4296
  style 76853469_89fb_64f2_14ae_12ec2c9b4296 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from __future__ import annotations

from typing_extensions import Literal, Required, TypedDict

__all__ = ["ToolChoiceToolParam"]


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.
    """

Dependencies

  • typing_extensions

Frequently Asked Questions

What does tool_choice_tool_param.py do?
tool_choice_tool_param.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does tool_choice_tool_param.py depend on?
tool_choice_tool_param.py imports 1 module(s): typing_extensions.
What files import tool_choice_tool_param.py?
tool_choice_tool_param.py is imported by 3 file(s): __init__.py, message_create_params.py, tool_choice_param.py.
Where is tool_choice_tool_param.py in the architecture?
tool_choice_tool_param.py is located at src/anthropic/types/tool_choice_tool_param.py (domain: AnthropicClient, directory: src/anthropic/types).

Analyze Your Own Codebase

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

Try Supermodel Free