S
Sonny
Text
Defining a Tool Schema a Model Can Call Correctly — Building with the Claude API
Write the tool name, description, and JSON input schema so the model knows when to call it and with what arguments; the description is the prompt that decides whether the tool fires. Taught in the co…