Skip to content

ToolConfiguration

Source code in docs_src/capo_bedrock_runtime/types/tool_configuration.py
class ToolConfiguration(TypedDict, closed=True):
    tools: "capo_bedrock_runtime.types.tools.Tools"
    """<p>An array of tools that you want to pass to a model. </p>"""
    tool_choice: NotRequired["capo_bedrock_runtime.types.tool_choice.ToolChoice"]
    """<p>If supported by model, forces the model to request a tool. </p>"""

tool_choice instance-attribute

tool_choice: NotRequired[ToolChoice]

If supported by model, forces the model to request a tool.

tools instance-attribute

tools: Tools

An array of tools that you want to pass to a model.