content property

List<ContentBlock> get content

The unstructured result content of the tool use.

This has the same format as CallToolResult.content and can include text, images, audio, resource links, and embedded resources.

Implementation

List<ContentBlock> get content => $required('content', $list($model(ContentBlock.fromJson)));