supportsStructuredToolOutput static method

bool supportsStructuredToolOutput(
  1. String version
)

Whether the negotiated version understands Tool.outputSchema, CallToolResult.structuredContent, and resource_link content (introduced in 2025-06-18, carried forward).

Implementation

static bool supportsStructuredToolOutput(String version) =>
    _isAtLeast(version, v2025_06_18);