supportsStructuredToolOutput static method
Whether the negotiated version understands Tool.outputSchema,
CallToolResult.structuredContent, and resource_link content
(introduced in 2025-06-18).
Implementation
static bool supportsStructuredToolOutput(String version) =>
version == v2025_06_18 || version == v2025_11_25;