SwiftextensionActionKit
@retroactive extension WFContentItem: WorkflowKit.WFToolKitContentItem
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
classWFContentItem
inherits{}
- protocolWorkflowKit.WFToolKitContentItem
Members 7
- func
static toolkitFilterQueryElementDefinition(context: WFContentItem.ToolKitTypeResolutionContext) throws -> ToolKit.TypeDefinition? - func
static toolkitPredicateTemplates(usage: WorkflowKit.ToolKitContentItemUsage, seen: [WorkflowKit.WFToolKitContentItem.Type], localizationContext: WFLocalizationContext) throws -> ToolKit.QueryDefinition.PredicateTemplates - func
static toolkitTypeDefinition(context: WFContentItem.ToolKitTypeResolutionContext) async throws -> ToolKit.TypeDefinition - func
static toolkitTypeDisplayRepresentation(localizationContext: WFLocalizationContext) -> ToolKit.TypeDisplayRepresentation - func
imageComponent(model: ContentKit.WFAskLLMModel) async throws -> PromptKit.Prompt.Component.Value - func
imageFile() async throws -> WFFileRepresentation - func
isImage() async -> Bool
Header
extension __C.WFContentItem: @retroactive WorkflowKit.WFToolKitContentItem {}