SwiftextensionToolKit

extension ToolKit.ToolExecutionSession

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 10

  1. funccoerce(value: ToolKit.TypedValue, to: ToolKit.TypeInstance) async throws -> ToolKit.TypedValue
  2. funcexecute(invocation: ToolKit.ToolInvocation) async throws -> ToolKit.TypedValue.ID?
  3. funcexecute(toolInvocation: ToolKit.ToolInvocation, batchConfiguration: ToolKit.BatchConfiguration, dialogHandler: ToolKit.ToolDialogHandler?) async throws -> ToolKit.ToolExecutionResult
  4. funcexecute(toolInvocation: ToolKit.ToolInvocation, batchConfiguration: ToolKit.BatchConfiguration) async throws -> ToolKit.ToolExecutionResult
  5. funcprewarm(bundleIdentifiers: [String]) async throws -> ()
  6. funcprewarm(deviceDescriptors: [ToolKit.DeviceDescriptor]) async throws -> ()
  7. funcprewarm(deviceIDSIdentifiers: [String]) async throws -> ()
  8. funcuserHasResignedFocus() -> ()
  9. subscriptsubscript.getter : (ToolKit.ToolDefinition) -> ToolKit.RunnableTool
  10. varvar runnerClient: WFWorkflowRunnerClient? { get }
extension ToolKit.ToolExecutionSession {
    var runnerClient: __C.WFWorkflowRunnerClient? {
        get
    }

    func userHasResignedFocus()
    func coerce(value: ToolKit.TypedValue, to: ToolKit.TypeInstance) async throws -> ToolKit.TypedValue
    func execute(invocation: ToolKit.ToolInvocation) async throws -> ToolKit.TypedValue.ID?
    func execute(toolInvocation: ToolKit.ToolInvocation, batchConfiguration: ToolKit.BatchConfiguration, dialogHandler: (any ToolKit.ToolDialogHandler)?) async throws -> ToolKit.ToolExecutionResult
    func execute(toolInvocation: ToolKit.ToolInvocation, batchConfiguration: ToolKit.BatchConfiguration) async throws -> ToolKit.ToolExecutionResult
    func prewarm(bundleIdentifiers: [Swift.String]) async throws
    func prewarm(deviceDescriptors: [ToolKit.DeviceDescriptor]) async throws
    func prewarm(deviceIDSIdentifiers: [Swift.String]) async throws

    subscript(_: ToolKit.ToolDefinition) -> ToolKit.RunnableTool {
        get
    }
}