Amazon Bedrock Converse API Tool Calling
Overview
You can use this Snap to provide a conversational interface with the ability to call external tools or services based on your interaction and context.

Transform-type Snap
Works in Ultra Tasks
Prerequisites
None.
Limitations and known issues
None.
Snap views
View | Description | Examples of upstream and downstream Snaps |
---|---|---|
Input | This Snap supports exactly one document input view. The input has a message list that contains the conversation history, a tool definition list, and other query parameters to the AWS Converse API endpoint. | |
Output |
This Snap supports exactly two document output views.
|
Router |
Error |
Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter when running the pipeline by choosing one of the following options from the When errors occur list under the Views tab. The available options are:
Learn more about Error handling in Pipelines. |
Snap settings
- Expression icon (
): Allows using JavaScript syntax to access SnapLogic Expressions to set field values dynamically (if enabled). If disabled, you can provide a static value. Learn more.
- SnapGPT (
): Generates SnapLogic Expressions based on natural language using SnapGPT. Learn more.
- Suggestion icon (
): Populates a list of values dynamically based on your Snap configuration. You can select only one attribute at a time using the icon. Type into the field if it supports a comma-separated list of values.
- Upload
: Uploads files. Learn more.
Field / Field set | Type | Description |
---|---|---|
Label | String |
Required. Specify a unique name for the Snap. Modify this to be more appropriate, especially if more than one of the same Snaps is in the pipeline. Default value: Amazon Bedrock Converse API Tool Calling Example: Weather Report |
Model name | String/Expression/ Suggestion |
Required. Specify the model name to use for converse API. Learn more about the list of supported Amazon Bedrock Converse API Tool Calling models. Default value: N/A Example: anthropic.claude-3-sonnet |
Include Cross-Region Models | Checkbox |
Shows cross-region models in the Model Name suggestions if selected. Enabled only when Model Name is not an expression. Default value: Deselected Note: This setting only changes the suggest behavior for the model listing and not during runtime. |
Message payload | String/Expression |
Required. Specify the message payload for the associated Converse API model. For example,
Important:
Here are the typical scenarios of how the tool calling Snap
processes different types of message lists in the input document:
Default value: N/A Example: $messages |
Tool payload | String/Expression |
Required. Specify the list of tool definitions to send to the model. Default value: N/A Example: $messages |
Tool configuration |
Use this field set to modify the tool calling settings to guide the model responses and optimize the output processing. |
|
Tool choice | Dropdown list/Expression |
Required. Choose the preferred tool which the model has to
call. Available options include:
Important: The SPECIFY A FUNCTION option is only available for Anthropic Claude 3 models.
Default value: AUTO Example: ANY |
Cache tools | Checkbox/Expression | Select to reduce inference response latency and input token costs. As of May 2025, supported models are:
This field also displays under Advanced prompt configuration. Learn more supported models . |
Function name | String/Expression |
Appears when you select SPECIFY A FUNCTION as the Tool choice. Required. Specify the name of the function to force the model to call. Default value: N/A Example: get_weather_info |
Model parameters | Configure the parameters to tune the model runtime. | |
Thinking | Checkbox | Enabled if the model supports thinking or the model name is an expression. Learn more. Default: Deselected |
Budget tokens | Integer | Number of tokens for reasoning apart from output tokens. Enabled if Thinking is
|
Maximum tokens | Integer/Expression |
Specify the maximum number of tokens to generate in the chat completion. If left
blank, the default will be set to the specified model's maximum allowed value.
Learn more.
Note: The response may be incomplete if the sum of the
prompt tokens and Maximum tokens exceed the allowed token limit for the model. Minimum value: 1Default value: N/A Example: 100 |
Temperature | Decimal/Expression |
Specify the sampling temperature to use a decimal value between 0 and 1. If left blank, the model will use its default value. Learn more. Default value: N/A Example: 0.2 |
Top P | Decimal/Expression |
Specify the nucleus sampling value, a decimal value between 0 and 1. If left blank, the model will use its default value. Learn more. Default value: N/A Example: 0.2 |
Stop sequences | String/Expression |
Specify a sequence of texts or tokens to stop the model from generating further output. Default value: N/A
Example:
|
Advanced prompt configuration |
Use this field set to configure the advanced prompt settings. |
|
System prompt | String/Expression |
Specify the prompt (initial instruction). This prompt prepares for the conversation by defining the model's role, personality, tone, and other relevant details to understand and respond to the user's input. Learn more about the supported models. Note:
Default value: N/A Example:
|
Cache system prompt | Checkbox/Expression | Select to reduce inference response latency and input token costs. Default value: Deselected. |
Snap execution | Dropdown list |
Choose one of the three modes in
which the Snap executes. Available options are:
Default value: Validate & Execute Example: Execute only |
Additional information
The following are the supported models for System prompt field:
- anthropic.claude-instant-v1
- anthropic.claude-v2:1
- anthropic.claude-v2
- anthropic.claude-3-sonnet-20240229-v1:0
- anthropic.claude-3-haiku-20240307-v1:0
- anthropic.claude-3-opus-20240229-v1:0
- anthropic.claude-3-5-sonnet-20240620-v1:0
- anthropic.claude-3-5-haiku-20241022-v1:0
- cohere.command-r-v1:0
- cohere.command-r-plus-v1:0
- meta.llama3-8b-instruct-v1:0
- meta.llama3-70b-instruct-v1:0
- meta.llama3-1-8b-instruct-v1:0
- meta.llama3-1-70b-instruct-v1:0
- meta.llama3-1-405b-instruct-v1:0
- mistral.mistral-large-2402-v1:0
- mistral.mistral-large-2407-v1:0
Troubleshooting
Duplicate tool names found
Duplicate tool names cause conflicts; the system automatically renames duplicates to resolve conflicts.
Provide unique names for each tool to avoid automatic renaming.