Document pydantic.ValidationError in client Raises sections

Merged
MA
5mo ago
+8-0

When a server returns a result that does not conform to the negotiated protocol version (for example, a 2026-07-28 result missing a required field), the client surfaces the pydantic.ValidationError from result validation. The Raises sections on ClientSession.send_request and the Client.call_tool / get_prompt / read_resource loops didn't mention it.

Docstring-only; no behavior change.

AI Disclaimer