SwiftprotocolFlowToolTypes
protocol FlowToolTypes.FlowTool
Members 13
- func
callAppIntent(invocation: ToolKit.ToolInvocation) async throws -> FlowToolTypes.AppIntentExecutionResult - func
callTool(invocation: ToolKit.ToolInvocation) async throws -> ToolKit.ToolExecutionResult - func
method descriptor for execute() async throws -> FlowToolTypes.FlowToolResult - func
method descriptor for execute(context: FlowToolTypes.FlowToolInvocationContext) async throws -> FlowToolTypes.FlowToolResult - func
method descriptor for execute(context: FlowToolTypes.FlowToolInvocationContext, callback: FlowToolTypes.FlowToolExecutorCallback) async throws -> FlowToolTypes.FlowToolResult - func
execute(context: FlowToolTypes.FlowToolInvocationContext, callback: FlowToolTypes.FlowToolExecutorCallback) async throws -> FlowToolTypes.FlowToolResult - func
execute(context: FlowToolTypes.FlowToolInvocationContext) async throws -> FlowToolTypes.FlowToolResult - func
execute() async throws -> FlowToolTypes.FlowToolResult - func
showActionConfirmation(request: FlowToolTypes.FlowToolActionConfirmationRequest) async throws -> FlowToolTypes.FlowToolConfirmationResponse - func
showIntermediateResult(title: FlowToolTypes.FlowToolDialogPrompt, snippetOutputPayload: FlowToolTypes.FlowToolSnippetOutputPayload?, waitUntilRendered: Bool) async throws -> FlowToolTypes.FlowToolIntermediateResultResponse - func
method descriptor for warmup(context: FlowToolTypes.FlowToolInvocationContext) async -> () - func
warmup(context: FlowToolTypes.FlowToolInvocationContext) async -> () - init
method descriptor for init() -> A
Header
protocol FlowTool: AnyObject, FlowToolTypes.FlowToolParameterInjectable { init() func execute() async throws -> FlowToolTypes.FlowToolResult func execute(context: FlowToolTypes.FlowToolInvocationContext) async throws -> FlowToolTypes.FlowToolResult func execute(context: FlowToolTypes.FlowToolInvocationContext, callback: any FlowToolTypes.FlowToolExecutorCallback) async throws -> FlowToolTypes.FlowToolResult func warmup(context: FlowToolTypes.FlowToolInvocationContext) async } extension FlowToolTypes.FlowTool { func callTool(invocation: ToolKit.ToolInvocation) async throws -> ToolKit.ToolExecutionResult func callAppIntent(invocation: ToolKit.ToolInvocation) async throws -> FlowToolTypes.AppIntentExecutionResult func showActionConfirmation(request: FlowToolTypes.FlowToolActionConfirmationRequest) async throws -> FlowToolTypes.FlowToolConfirmationResponse func showIntermediateResult(title: FlowToolTypes.FlowToolDialogPrompt, snippetOutputPayload: FlowToolTypes.FlowToolSnippetOutputPayload?, waitUntilRendered: Swift.Bool) async throws -> FlowToolTypes.FlowToolIntermediateResultResponse func warmup(context: FlowToolTypes.FlowToolInvocationContext) async func execute(context: FlowToolTypes.FlowToolInvocationContext, callback: any FlowToolTypes.FlowToolExecutorCallback) async throws -> FlowToolTypes.FlowToolResult func execute(context: FlowToolTypes.FlowToolInvocationContext) async throws -> FlowToolTypes.FlowToolResult func execute() async throws -> FlowToolTypes.FlowToolResult }