Tool cheatsheet

Claude API Cheatsheet

Call Claude from Python, TypeScript or curl: messages, streaming, thinking, tools, structured output, caching, batches and error handling.

Claude API tutorial

Setup and first request

Shaping requests

Streaming

Tools and structured output

Caching, batches and tokens

Errors and configuration

Browse all cheatsheets

Was this page helpful?