Interface McpLambdaTargetConfiguration.Builder

  • Method Details

    • lambdaArn

      The Amazon Resource Name (ARN) of the Lambda function. This function is invoked by the gateway to communicate with the target.

      Parameters:
      lambdaArn - The Amazon Resource Name (ARN) of the Lambda function. This function is invoked by the gateway to communicate with the target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toolSchema

      The tool schema for the Lambda function. This schema defines the structure of the tools that the Lambda function provides.

      Parameters:
      toolSchema - The tool schema for the Lambda function. This schema defines the structure of the tools that the Lambda function provides.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toolSchema

      The tool schema for the Lambda function. This schema defines the structure of the tools that the Lambda function provides.

      This is a convenience method that creates an instance of the ToolSchema.Builder avoiding the need to create one manually via ToolSchema.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to toolSchema(ToolSchema).

      Parameters:
      toolSchema - a consumer that will call methods on ToolSchema.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: