Jump to Content
User guides
API reference
Prompt library
Log In
Log In
Moon (Dark Mode)
Sun (Light Mode)
User guides
API reference
Prompt library
Search
Discard
Submit Suggested Edits
Get started
Welcome to Claude
Quickstart guide
Getting access to Claude
Intro to prompting
Migrating from other models
Upgrading to the Messages API
Models overview
Legacy model guide
Glossary
Capabilities
Text generation
System prompts
Vision
Embeddings
Google Sheets add-on
Tool use (function calling)
Tool use examples
Tool use pricing and tokens
Legacy tool use
Performance Enhancement
Prompt engineering
Prompt generator
Be clear & direct
Use examples
Give Claude a role
Use XML tags
Chain prompts
Let Claude think
Prefill Claude's response
Control output format (JSON mode)
Ask Claude for rewrites
Long context window tips
Reducing latency
Troubleshooting
Minimizing hallucinations
Mitigating jailbreaks & prompt injections
Reducing prompt leaks
Keep Claude in character
Production Guides
Use cases and capabilities
Empirical performance evaluations
Content moderation
Suggest