Actions
Generate Model Response
Generate a model response.
External Documentation
To learn more, visit the Anthropic documentation.
Basic Parameters
Parameter | Description |
---|---|
Disable Parallel Tool Use | When checked - restrict the model to use at most one tool at a time and preventing parallel tool usage. |
Max Tokens | The maximum number of tokens to generate before stopping.Different models have different maximum values for this parameter. Visit Anthropic documentation for more details. |
Messages | The content of the current conversation with the model.For example:[ {"role": "user", "content": "Hello there."}, {"role": "assistant", "content": "Hi, I'm Claude. How can I help you?"}, {"role": "user", "content": "Can you explain LLMs in plain English?"}] For more information about the Messages parameter, visit Anthropic documentation for more details. |
Model | The model that will complete your prompt. |
Thinking | When set to enabled , responses include thinking content blocks showing the model’s thinking process before the final answer.Note: Requires a minimum budget of 1024 tokens.For more information about the Thinking parameter, visit Anthropic documentation. |
Thinking Budget Tokens | The number of tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems which improves response quality.Note: Must be higher than 1024 and less than the Max Tokens value. |
Tool Choice | Define how the model should use the provided tools.The model can:* auto - Decide by itself.* any - Use any available tool.* tool - Use a specific tool.* none - Not use tools at all.Note: This parameter may only be specified while providing Tools . |
Tool Choice Name | The name of the tool to use. |
Tools | Definitions of tools that the model may use.Each tool definition includes:* name - Name of the tool.* description - Optional, but strongly-recommended description of the tool.* input_schema - JSON schema for the tool input shape that the model will produce in tool_use output content blocks.For example:[ { "name": "get_stock_price", "description": "Get the current stock price for a given ticker symbol.", "input_schema": { "type": "object", "properties": { "ticker": { "type": "string", "description": "The stock ticker symbol, e.g. AAPL for Apple Inc." } }, "required": ["ticker"] } }] For more information about the Tools parameter, visit Anthropic documentation. |
Advanced Parameters
Parameter | Description |
---|---|
Stop Sequences | A comma-separated list of character sequences that will stop output generation. If specified, the response will stop at the first appearance of a Stop Sequence . The stop sequence will not be included as part of the response.Example: STOP,END |
System Instructions | Context and instructions to provide to the model, such as specifying a particular goal or role.For example:You are a seasoned data scientist at a Fortune 500 company. For more information about the System parameter, visit Anthropic documentation. |
Temperature | The randomness of the output.Values can range from 0.0 to 1.0 . |
Top K | Limit the model to only consider the top K most likely options when selecting each word. This reduces random or unusual responses by filtering out less probable choices. For most cases, using Temperature is sufficient.Valid values are larger than 0 .For more information about the Top K parameter, visit Anthropic documentation. |
Top P | Control text variety by only considering the most likely words whose combined probability reaches the specified Top P value. This helps balance creativity and relevance in responses.Values can range from 0.0 to 1.0 .Note: Either use this parameter or Temperature , but not both.For more information about the Top P parameter, visit Anthropic documentation. |
User ID | An external identifier for the user who is associated with the request.For more information about the User ID parameter, visit Anthropic documentation. |
Example Output
Workflow Library Example
Generate Model Response with Anthropic and Send Results Via Email
Preview this Workflow on desktop