claude-api - Build Claude API integrations with validated JSON
Guides Claude Messages API development with structured outputs, prompt caching, streaming SSE, tool use, model changes, and error handling.
Tags
Updated: 2026-10-16Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Validate JSON schema conformance
- Configure prompt caching
- Handle SSE stream errors
- Implement structured tool use
- Match tool result IDs
- Track model deprecations
- Validate semantic correctness
Inputs
- Anthropic API key
- User prompts
- JSON schemas
- Tool definitions
- Source text
- Codebase content
Outputs
- Structured JSON responses
- Tool use requests
- SSE stream events
- Cache usage metrics
- API error events
Requirements
- Anthropic API access
- Anthropic SDK v0.69.0 or later
- Supported Claude models
- Structured outputs beta header
- Code execution tool for Agent Skills
