outputSchema property

Map<String, dynamic>? outputSchema
final

Spec 2025-06-18+: optional JSON Schema describing the structured result the tool produces. When present, the runtime SHOULD validate CallToolResult.structuredContent against it.

Implementation

final Map<String, dynamic>? outputSchema;