Build with Claude Messages API using structured outputs (v0.69.0+, Nov 2025) for guaranteed JSON schema validation. Covers prompt caching (90% savings), streaming SSE, tool use, model deprecations (3.5/3.7 retired Oct 2025). Use when: building chatbots/agents with validated JSON responses, or troubleshooting rate_limit_error, structured output validation, prompt caching not activating, streaming SSE parsing.
Inherits all available tools
Additional assets for this skill
This skill inherits all available tools. When active, it can use any tool Claude has access to.
README.mdreferences/api-reference.mdreferences/prompt-caching-guide.mdreferences/rate-limits.mdreferences/tool-use-patterns.mdreferences/top-errors.mdreferences/vision-capabilities.mdrules/claude-api.mdscripts/check-versions.shtemplates/basic-chat.tstemplates/cloudflare-worker.tstemplates/error-handling.tstemplates/extended-thinking.tstemplates/nextjs-api-route.tstemplates/nodejs-example.tstemplates/package.jsontemplates/prompt-caching.tstemplates/streaming-chat.tstemplates/tool-use-advanced.tstemplates/tool-use-basic.ts