isError property

bool? get isError

Whether the tool use resulted in an error.

If true, the content typically describes the error that occurred. Default: false

Implementation

bool? get isError => $optional('isError', $bool);