When to use tools vs prompts — CCA-F Exam Prep

×
L2.090
REAL STORYA developer looking at two monitors. Left monitor: a tool implementation with 200 lines of code, an API endpoint, error handling, retry logic. Right monitor: a system prompt with 5 lines that does the same thing. The developer's expression: 'I overengineered this.' Cost comparison floating above: Tool = $0.12/call, Prompt = $0.002/call.

They spent two weeks building a classification tool. Five lines in the system prompt replaced it.

A support team wanted Claude to classify incoming tickets into five categories: billing, technical, account, shipping, other. A junior engineer built a custom tool -- it called an external ML API, parsed the response, mapped categories, handled errors.

Two weeks of work. 400ms latency per ticket. $0.12 per classification. Broke during API downtime.