Interface Call.Builder

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

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

    • callId

      Call.Builder callId(String callId)

      A unique identifier for this tool call, used to match results back to requests.

      Parameters:
      callId - A unique identifier for this tool call, used to match results back to requests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • input

      Call.Builder input(Document input)

      The input parameters for the tool call, formatted according to the tool's schema.

      Parameters:
      input - The input parameters for the tool call, formatted according to the tool's schema.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Call.Builder name(String name)

      The name of the tool to invoke, following the pattern 'tool.{toolName}' or 'browser.{browserAction}'.

      Parameters:
      name - The name of the tool to invoke, following the pattern 'tool.{toolName}' or 'browser.{browserAction}'.
      Returns:
      Returns a reference to this object so that method calls can be chained together.