outputSchema property

Map<String, Object?>? get outputSchema

An optional JSON Schema object defining the structure of the tool's output returned in the structuredContent field of a CallToolResult. This can be any valid JSON Schema 2020-12.

Defaults to JSON Schema 2020-12 when no explicit $schema is provided.

Implementation

Map<String, Object?>? get outputSchema => $optional('outputSchema', $object);