Remix.run Logo
▲ FearNotDaniel 5 hours ago

Correct, here's an implementation example using the Claude SDK [0] but it's the same approach on other platforms: you tell the model what tools it has available, it sends back a response saying it wants to use a specific tool with given parameters, your code executes that tool then sends the output back to the model on the next turn.

[0] https://platform.claude.com/docs/en/agents-and-tools/tool-us...

▲hypfer 4 hours ago | parent [-]

I think I might've phrased something in ways that were confusing to people, because now two people have explained tool calls to me for some reason?

▲FearNotDaniel an hour ago | parent [-]

Just trying to be helpful. I couldn’t see any other way to interpret the question below except as someone who doesn’t know how tool calls get done and who might therefore value a little insight. Didn’t mean to be patronising, apologies if I misinterpreted your question.

> So if I understand it correctly, the tool calls are not actually done by the model?