Interface ToolUseBlock.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ToolUseBlock.Builder,ToolUseBlock>, SdkBuilder<ToolUseBlock.Builder,ToolUseBlock>, SdkPojo
Enclosing class:
ToolUseBlock

public static interface ToolUseBlock.Builder extends SdkPojo, CopyableBuilder<ToolUseBlock.Builder,ToolUseBlock>
  • Method Details

    • toolUseId

      ToolUseBlock.Builder toolUseId(String toolUseId)

      The ID for the tool request.

      Parameters:
      toolUseId - The ID for the tool request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the tool that the model wants to use.

      Parameters:
      name - The name of the tool that the model wants to use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • input

      The input to pass to the tool.

      Parameters:
      input - The input to pass to the tool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.