Interface ToolUseResultData.Builder

  • Method Details

    • toolUseId

      ToolUseResultData.Builder toolUseId(String toolUseId)

      The identifier of the tool use instance.

      Parameters:
      toolUseId - The identifier of the tool use instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toolName

      ToolUseResultData.Builder toolName(String toolName)

      The name of the tool that was used.

      Parameters:
      toolName - The name of the tool that was used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toolResult

      ToolUseResultData.Builder toolResult(Document toolResult)

      The result of the tool usage.

      Parameters:
      toolResult - The result of the tool usage.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputSchema

      ToolUseResultData.Builder inputSchema(Document inputSchema)

      The input schema for the tool use result.

      Parameters:
      inputSchema - The input schema for the tool use result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.