跳到主要内容

WorkflowOutputItem

idstringrequired
titlestringrequired
contentrequired

原始输出内容。contentType: json 时可以是对象或数组,不需要提前 stringify;contentType: audio 时使用 {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

输出项元数据。管理端回放预览被截断时会包含 previewTruncated: truepreviewLimitfullContentIn: detail-log

property name*any

输出项元数据。管理端回放预览被截断时会包含 previewTruncated: truepreviewLimitfullContentIn: detail-log

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