Skip to main content

WorkflowOutputItem

idstringrequired
titlestringrequired
contentrequired

Original output content. contentType: json can be an object or an array, and does not need to be stringify in advance;contentType: audio uses {src,mimeType,name,size,durationMs?,format?}.

iconstring
iconPresetstring

Possible values: [info, success, warning, error, note, code, list, quote, none]

contentTypestring

Possible values: [markdown, text, json, audio]

collapsedboolean
metadata object

Output item metadata. The management-side playback preview contains previewTruncated: true, previewLimit, and fullContentIn: detail-log when truncated.

property name*any

Output item metadata. The management-side playback preview contains previewTruncated: true, previewLimit, and fullContentIn: detail-log when truncated.

WorkflowOutputItem
{
"id": "string",
"title": "string",
"icon": "string",
"iconPreset": "info",
"contentType": "markdown",
"collapsed": true,
"metadata": {}
}