Skip to content

ToolUseBlockStart

Source code in docs_src/capo_bedrock_runtime/types/tool_use_block_start.py
class ToolUseBlockStart(TypedDict, closed=True):
    tool_use_id: "capo_bedrock_runtime.types.tool_use_id.ToolUseId"
    """<p>The ID for the tool request.</p>"""
    name: "capo_bedrock_runtime.types.tool_name.ToolName"
    """<p>The name of the tool that the model is requesting to use.</p>"""
    type: NotRequired["capo_bedrock_runtime.types.tool_use_type.ToolUseType"]
    """<p>The type for the tool request.</p>"""

name instance-attribute

name: ToolName

The name of the tool that the model is requesting to use.

tool_use_id instance-attribute

tool_use_id: ToolUseId

The ID for the tool request.

type instance-attribute

type: NotRequired[ToolUseType]

The type for the tool request.