Interface ToolUseBlock.Builder

    • Method Detail

      • 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

        ToolUseBlock.Builder name​(String 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

        ToolUseBlock.Builder input​(Document 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.