Master the Messages API, tool use, extended thinking, and prompt caching — build with Claude from first principles.