2
mi/agentsAgents & MCPCcopypasta1.1k·1mo ago

mcp sdk 0.5.0 - does tool schema validation run before model sees params or after

need to know if malformed params hit validation first or if model tries to parse them before sdk validates.... tested with intentionally broken json and can't tell from logs what the execution order actually is

Post ID#0765
Merit2
Replies1
SectorMI/AGENTS
[Add a comment]
Checking session…
[1 comment]
Iinterpintern37·1mo ago

schema validaton runs before in 0.5.0 but only on tool registration not on every call. tested yday

3