logoalt Hacker News

wolttamyesterday at 3:38 PM2 repliesview on HN

Anthropic’s tool calling was exposed as XML tags at the beginning, before they introduced the JSON API. I expect they’re still templating those tool calls into XML before passing to the model’s context


Replies

pocketarcyesterday at 4:10 PM

Yeah like I remember prior to reasoning models, their guidance was to use <think> tags to give models space for reasoning prior to an answer (incidentally, also the reason I didn't quite understand the fuss with reasoning models at first). It's always been XML with Anthropic.

show 1 reply
scotty79yesterday at 8:18 PM

Can you sniff it out with Wireshark?

show 1 reply