M25.2 CONNECT THE MECHANISM
Give tools clear inputs, results, and state
Wayfarer asked the hotel for "two" nights, then booked the room twice. Learn the contracts, request states, and retry keys that keep tool calls honest.
LESSON OVERVIEW14 min lesson
Lesson overview
Wayfarer asked the hotel for "two" nights, then booked the room twice. Learn the contracts, request states, and retry keys that keep tool calls honest.
What you’ll explore
- Tool-using systems need validated arguments, defined results, persistent task state, and error semantics; well-formed output can still request the wrong action, or one the user never authorized.
GO TO THE SOURCE
Original explanations, connected to the research.
ReActJSON Schema — specificationIntroducing the Model Context Protocol (Anthropic, November 2024)Model Context Protocol — specificationTool use with Claude (Anthropic documentation)Idempotent requests (Stripe API reference)Suggest a correction
A precise note can make an explanation better.
Choose the scene and describe what needs attention. Download a feedback file to share through a channel you already use. This page does not send feedback or connect you with a reviewer.