Learn how to build tool functions in Claude to give AI access to real-time information and actions. Master best practices for validation, error handling, and function design.
Learn how to use the Claude Code SDK to run Claude programmatically from your applications and scripts. Available for TypeScript, Python, and CLI with practical examples and use cases.
Learn how to implement code-based grading for AI-generated code evaluation. This guide covers syntax validation for Python, JSON, and regex, combining code and model graders, and using objective metrics to measure prompt engineering progress.
Learn how to build hooks in Claude Code to intercept and control tool calls. Master PreToolUse and PostToolUse hooks, understand tool call data structures, and implement access control for sensitive files.
Learn how to use hooks in Claude Code to run commands before or after tool execution. Automate code formatting, testing, access control, and more with PreToolUse and PostToolUse hooks.