Interface ToolResultStructuredContent.Builder

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

@Mutable @NotThreadSafe public static interface ToolResultStructuredContent.Builder extends SdkPojo, CopyableBuilder<ToolResultStructuredContent.Builder,ToolResultStructuredContent>
  • Method Details

    • taskId

      The identifier of the task that produced the result.

      Parameters:
      taskId - The identifier of the task that produced the result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskStatus

      The status of the task that produced the result.

      Parameters:
      taskStatus - The status of the task that produced the result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • taskStatus

      The status of the task that produced the result.

      Parameters:
      taskStatus - The status of the task that produced the result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stdout

      The standard output from the tool execution.

      Parameters:
      stdout - The standard output from the tool execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stderr

      The standard error output from the tool execution.

      Parameters:
      stderr - The standard error output from the tool execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • exitCode

      The exit code from the tool execution.

      Parameters:
      exitCode - The exit code from the tool execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • executionTime

      ToolResultStructuredContent.Builder executionTime(Double executionTime)

      The execution time of the tool operation in milliseconds.

      Parameters:
      executionTime - The execution time of the tool operation in milliseconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.