Anthropic · CCDV-F
Messages, tools, streaming, and vision
CCDV-F · Lesson 5 of 21 · 35:34
YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗
In this lesson
Prepare for the Claude Certified Developer – Foundations exam, on the exam guide version 1.0, effective July 2026. In this lesson: the Messages API (model, max_tokens, messages, and the system field), tool_use and tool_result blocks, client and server tools, streaming with server-sent events, images and PDFs as content blocks, and the Files API. Includes three original practice questions.
Preview the topics
- A response to Driftwood’s app contains a server_tool_use block for web search, with its result. What should the app send back?
- Driftwood’s app streams a reply, and the HTTP status is 200, but the text stops halfway with an overloaded error event. Where should the app handle it?
- Driftwood sends the same seller handbook, as a PDF, in thousands of requests a day. Which approach avoids uploading it again and again?