protocolVersion

The MCP protocol version selected for this request, or null when absent.

This field is required by the request-scoped lifecycle introduced in protocol version 2026-07-28, but remains optional here so older requests retain their wire shape.

Throws

if the field is present but is not a string