outputSchema property

ObjectSchema? get outputSchema

An optional JSON ObjectSchema object defining the expected schema of the tool output.

If the outputSchema is specified, then the output from the tool must conform to the schema.

Implementation

ObjectSchema? get outputSchema => _value['outputSchema'] as ObjectSchema?;