Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
One change · api

structured-outputs changed

build-with-claude/structured-outputs

Nearest release: v2.1.275, published an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+7added
Lines−4removed
From line 2,546 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits9to this page, all time

The whole hunk

from line 2546, old and new numbered
/
lines
from line 2546
25462546 // Claude may call the tool first (tool_use) or respond with JSON (text)
25472547 console.log("Stop reason:", response.stop_reason);
25482548 for (const block of response.content) {
2549 if (block.type === "tool_use") {
2550 console.log(`Tool call: ${block.name}(${JSON.stringify(block.input)})`);
2551 } else if (block.type === "text") {
2552 console.log("Response:", block.text);
2549 switch (block.type) {
2550 case "tool_use":
2551 console.log(`Tool call: ${block.name}(${JSON.stringify(block.input)})`);
2552 break;
2553 case "text":
2554 console.log("Response:", block.text);
2555 break;
25532556 }
25542557 }
25552558 ```