little cups of claude

tips and techniques for Claude and Claude Code

Cups tagged β€œAnthropic SDK”

Today we'll begin looking at tool use in the Claude API, which lets Claude call functions that we define and run in our own code. We describe a tool with a name, a description, and a JSON Schema for its input. When Claude decides it needs the tool, it stops and asks us to run it, and then uses our result to finish its...

Read cup #29: Tool Use Basics