Your schema validation passes and the agent still picks the wrong tool. The bug is semantic.
Pydantic and JSON-schema guarantee the shape of a tool call. They say nothing about whether it was the right call for the user's intent.
TL;DR: We put strict Pydantic validation on every tool call o
jamesoconnor.hashnode.dev3 min read