Anthropic

App · AI Models · 1 action

Connect Claude, Anthropic's AI assistant, to answer questions, write text, and generate content in your workflows.

Generate a Claude response

Send a prompt to Claude and get back its written response.

Inputs

PromptprompttextRequired
The message or question to send to Claude.
Modelmodeltext
Which Claude model to use. Defaults to claude-opus-4-8.One of: claude-opus-4-8 (Claude Opus 4.8 (recommended)), claude-fable-5 (Claude Fable 5 (most capable, expensive)), claude-sonnet-5 (Claude Sonnet 5), claude-haiku-4-5 (Claude Haiku 4.5 (fastest, lowest cost)). Default: claude-opus-4-8.
Maximum response lengthmax_tokensnumber
Maximum number of tokens Claude may generate in its response. Raise it for longer replies. Leave blank to use the default (4096).Default: 4096.

Outputs

modeltext
response_texttext
statustext
Example output
{
  "model": "claude-opus-4-8",
  "response_text": "Here is a thoughtful response to your question about artificial intelligence and its applications in modern software development.",
  "status": "success"
}

On this page