# Anthropic

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

App · AI Models · 1 action. Web page: https://docs.lodol.com/docs/integrations/anthropic

## Actions

### Generate a Claude response

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

**Inputs**

- Prompt (`prompt`, text, required): The message or question to send to Claude.
- Model (`model`, text): 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 length (`max_tokens`, number): 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**

- `model` (text)
- `response_text` (text)
- `status` (text)

**Example output**

```json
{
  "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"
}
```
