SwiftextensionFlowToolTypes
extension FlowToolTypes.FlowTool
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
protocolFlowToolTypes.FlowTool
Members 8
- func
callAppIntent(invocation: ToolKit.ToolInvocation) async throws -> FlowToolTypes.AppIntentExecutionResult - func
callTool(invocation: ToolKit.ToolInvocation) async throws -> ToolKit.ToolExecutionResult - 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
warmup(context: FlowToolTypes.FlowToolInvocationContext) async -> ()
Header
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 }