Lodol Docs

Anthropic

API actions for the Anthropic integration.

Anthropic

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.

Parameters

ParameterTypeRequiredDescription
promptstringYesThe message or question to send to Claude.
modelstringNoWhich Claude model to use. Defaults to {...}.
max_tokensnumberNoMaximum number of tokens Claude may generate in its response. Raise it for longer replies. Leave blank to use the default ({...}).

Response

{
  "model": "actions.DEFAULT_MODEL",
  "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