What can you do with it?

The /anthropic command enables you to interact with Claude AI models through the Anthropic API. Perfect for generating text responses, analyzing content, and creating AI-powered conversations with various Claude models optimized for different use cases.

How to use it?

Basic Command Structure

/your-anthropic-connection [action] [required-parameters] [optional-parameters]

Parameters

Required:
  • model - The Claude model to use (e.g., claude-3-5-sonnet-20241022, claude-opus-4-20250514)
Optional:
  • max_tokens - Maximum number of tokens to generate (default varies by model)
  • temperature - Controls randomness in responses (0.0 to 1.0)
  • system - System prompt to guide model behavior

Tools

Create Message

Send a message to Claude and get a response Parameters:
  • model (required) - Claude model ID
  • max_tokens (optional) - Maximum response length
  • messages (required) - Array of conversation messages
Example:
/your-anthropic-connection
action: create_message
model: claude-3-5-sonnet-20241022
max_tokens: 1024
messages: [{"role": "user", "content": "Hello, Claude!"}]
Response:
{
  "id": "msg_01A1B2C3D4E5F6G7H8I9J0",
  "type": "message",
  "role": "assistant",
  "content": [{"type": "text", "text": "Hello! How can I help you today?"}],
  "model": "claude-3-5-sonnet-20241022",
  "stop_reason": "end_turn"
}

Create Message with System Prompt

Send a message with system instructions to guide model behavior Parameters:
  • model (required) - Claude model ID
  • system (required) - System instructions
  • max_tokens (optional) - Maximum response length
  • messages (required) - Array of conversation messages
Example:
/your-anthropic-connection
action: create_message
model: claude-3-5-sonnet-20241022
system: "You are a helpful assistant that responds in JSON format."
max_tokens: 1024
messages: [{"role": "user", "content": "What is the capital of France?"}]
Response:
{
  "id": "msg_01A1B2C3D4E5F6G7H8I9J0",
  "type": "message",
  "role": "assistant",
  "content": [{"type": "text", "text": "{\"capital\": \"Paris\", \"country\": \"France\"}"}],
  "model": "claude-3-5-sonnet-20241022",
  "stop_reason": "end_turn"
}

Create Message with Image

Send a message with an image for analysis Parameters:
  • model (required) - Claude model ID
  • max_tokens (optional) - Maximum response length
  • messages (required) - Array of messages including image content
Example:
/your-anthropic-connection
action: create_message
model: claude-3-5-sonnet-20241022
max_tokens: 1024
messages: [{"role": "user", "content": [{"type": "text", "text": "What do you see in this image?"}, {"type": "image", "source": {"type": "base64", "media_type": "image/jpeg", "data": "..."}}]}]
Response:
{
  "id": "msg_01A1B2C3D4E5F6G7H8I9J0",
  "type": "message",
  "role": "assistant",
  "content": [{"type": "text", "text": "I can see a beautiful landscape with mountains..."}],
  "model": "claude-3-5-sonnet-20241022",
  "stop_reason": "end_turn"
}

Notes

Available Claude models include claude-opus-4-20250514 for complex reasoning, claude-3-5-sonnet-20241022 for general tasks, and claude-3-5-haiku-20241022 for fast responses. All models support text and image inputs with varying context windows and capabilities.