Interface ToolReference.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ToolReference.Builder,,ToolReference> SdkBuilder<ToolReference.Builder,,ToolReference> SdkPojo
- Enclosing class:
ToolReference
@Mutable
@NotThreadSafe
public static interface ToolReference.Builder
extends SdkPojo, CopyableBuilder<ToolReference.Builder,ToolReference>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the tool.serverName(String serverName) The name of the MCP server that provides the tool.The type of tool reference.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
type
The type of tool reference.
- Parameters:
type- The type of tool reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the tool. Must match the name of a tool declared in the top-level tool configuration.
- Parameters:
name- The name of the tool. Must match the name of a tool declared in the top-level tool configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverName
The name of the MCP server that provides the tool. Required when referencing an MCP tool.
- Parameters:
serverName- The name of the MCP server that provides the tool. Required when referencing an MCP tool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-