Give Claude custom tools changedagent-sdk/custom-tools
Nearest release: v2.1.335, published 9 hours after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 2 Dec 2026 12:29 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 2 Dec 2026 12:37 UTC.
Upstream edited
Recorded here
Lines+0added
Lines−2removed
From line
170
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits21to this page, all time
The whole hunk
from line 170, old and new numbered
/
from line 170
170170 prompt="What's the temperature in San Francisco?",
171171 options=options,
172172 ):
173 # ResultMessage is the final message after all tool calls complete
174173 if isinstance(message, ResultMessage) and message.subtype == "success":
175174 print(message.result)
176175
from line 187
188187 allowedTools: ["mcp__weather__get_temperature"]
189188 }
190189})) {
191 // "result" is the final message after all tool calls complete
192190 if (message.type === "result" && message.subtype === "success") {
193191 console.log(message.result);
194192 }
No line in this hunk matches that.