Lodol Docs

Anthropic

API actions for the Anthropic integration.

Anthropic

Connect Anthropic Claude models for conversational and generative responses.


Generate a Claude response

Sends a prompt to an Anthropic model and returns the generated text.

Parameters

ParameterTypeRequiredDescription
promptstringYesPrompt text
modelstringNoClaude model identifier

Response

{
  "model": "claude-3-5-sonnet-20241022",
  "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