Interface HarnessToolUseBlock.Builder

  • Method Details

    • name

      The name of the tool to call.

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

      HarnessToolUseBlock.Builder toolUseId(String toolUseId)

      The unique ID of this tool use.

      Parameters:
      toolUseId - The unique ID of this tool use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • input

      The JSON input to pass to the tool.

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

      The type of tool use.

      Parameters:
      type - The type of tool use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of tool use.

      Parameters:
      type - The type of tool use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serverName

      HarnessToolUseBlock.Builder serverName(String serverName)

      The name of the MCP server providing this tool.

      Parameters:
      serverName - The name of the MCP server providing this tool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.