Loading...
    • Developer Guide
    • API Reference
    • MCP
    • Resources
    • Release Notes
    Search...
    ⌘K
    First steps
    Intro to ClaudeQuickstart
    Models & pricing
    Models overviewChoosing a modelWhat's new in Claude 4.5Migrating to Claude 4.5Model deprecationsPricing
    Build with Claude
    Features overviewUsing the Messages APIContext windowsPrompting best practices
    Capabilities
    Prompt cachingContext editingExtended thinkingEffortStreaming MessagesBatch processingCitationsMultilingual supportToken countingEmbeddingsVisionPDF supportFiles APISearch resultsStructured outputs
    Tools
    OverviewHow to implement tool useFine-grained tool streamingBash toolCode execution toolProgrammatic tool callingComputer use toolText editor toolWeb fetch toolWeb search toolMemory toolTool search tool
    Agent Skills
    OverviewQuickstartBest practicesUsing Skills with the API
    Agent SDK
    OverviewQuickstartTypeScript SDKTypeScript V2 (preview)Python SDKMigration Guide
    MCP in the API
    MCP connectorRemote MCP servers
    Claude on 3rd-party platforms
    Amazon BedrockMicrosoft FoundryVertex AI
    Prompt engineering
    OverviewPrompt generatorUse prompt templatesPrompt improverBe clear and directUse examples (multishot prompting)Let Claude think (CoT)Use XML tagsGive Claude a role (system prompts)Prefill Claude's responseChain complex promptsLong context tipsExtended thinking tips
    Test & evaluate
    Define success criteriaDevelop test casesUsing the Evaluation ToolReducing latency
    Strengthen guardrails
    Reduce hallucinationsIncrease output consistencyMitigate jailbreaksStreaming refusalsReduce prompt leakKeep Claude in character
    Administration and monitoring
    Admin API overviewUsage and Cost APIClaude Code Analytics API
    Console
    Log in
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...

    Solutions

    • AI agents
    • Code modernization
    • Coding
    • Customer support
    • Education
    • Financial services
    • Government
    • Life sciences

    Partners

    • Amazon Bedrock
    • Google Cloud's Vertex AI

    Learn

    • Blog
    • Catalog
    • Courses
    • Use cases
    • Connectors
    • Customer stories
    • Engineering at Anthropic
    • Events
    • Powered by Claude
    • Service partners
    • Startups program

    Company

    • Anthropic
    • Careers
    • Economic Futures
    • Research
    • News
    • Responsible Scaling Policy
    • Security and compliance
    • Transparency

    Learn

    • Blog
    • Catalog
    • Courses
    • Use cases
    • Connectors
    • Customer stories
    • Engineering at Anthropic
    • Events
    • Powered by Claude
    • Service partners
    • Startups program

    Help and security

    • Availability
    • Status
    • Support
    • Discord

    Terms and policies

    • Privacy policy
    • Responsible disclosure policy
    • Terms of service: Commercial
    • Terms of service: Consumer
    • Usage policy
    Documentation

    Text generation

    Claude excels in a wide range of text-based tasks. Claude has been trained to ingest code, prose, and other natural language inputs, and provide text outputs in response.

    Prompts are best written as natural language queries as if you are instructing someone to do something, with the more detail the better. You can further improve your baseline prompt with prompt engineering.


    Text capabilities and use cases

    Claude has a broad range of text-based capabilities, including but not limited to:

    CapabilityThis enables you to...
    Text SummarizationDistill lengthy content into key insights for executives, social media, or product teams.
    Content GenerationCraft compelling content from blog posts and emails to marketing slogans and product descriptions.
    Data / Entity ExtractionUncover structured insights from unstructured text like reviews, news articles, or transcripts.
    Question AnsweringBuild intelligent, interactive systems from customer support chatbots to educational AI tutors.
    Text TranslationSeamlessly communicate across languages in products, support, and content creation.
    Text Analysis & RecommendationsUnderstand sentiment, preferences, and patterns to personalize user experiences and offerings.
    Dialogue and ConversationCreate engaging, context-aware interactions in games, virtual assistants, and storytelling apps.
    Code Explanation & GenerationAccelerate development with instant code reviews, boilerplate generation, and interactive tutorials.

    Claude Cookbook

    Dive into practical examples and hands-on tutorials with our collection of Jupyter notebooks.

    PDF Upload & Summarization

    Learn how to upload PDFs and have Claude summarize their content, making it easy to digest long documents.

    Tool Use & Function Calling

    Discover how to extend Claude's capabilities by integrating external tools and functions into your workflows.

    Embeddings with VoyageAI

    Explore how to create and use embeddings with VoyageAI for advanced text similarity and search tasks.

    More Resources

    From crafting the perfect prompt to understanding API details, we've got you covered.

    Prompt Engineering Guide

    Master the art of prompt crafting to get the most out of Claude.

    Prompt Library

    Find a wide range of pre-crafted prompts for various tasks and industries. Perfect for inspiration or quick starts.

    API Documentation

    Everything you need to interact with Claude via our API: request formats, response handling, and troubleshooting.

    • Text capabilities and use cases
    • Claude Cookbook
    • More Resources