| Case | MCPAppToolMeta.Visibility.app | case app | Sources/SwiftAISDK/MCPApps.swift |
| Case | MCPAppToolMeta.Visibility.model | case model | Sources/SwiftAISDK/MCPApps.swift |
| Case | MCPElicitAction.accept | case accept | Sources/SwiftAISDK/MCPTypes.swift |
| Case | MCPElicitAction.cancel | case cancel | Sources/SwiftAISDK/MCPTypes.swift |
| Case | MCPElicitAction.decline | case decline | Sources/SwiftAISDK/MCPTypes.swift |
| Case | MCPOAuthApplicationType.native | case native | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Case | MCPOAuthApplicationType.web | case web | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Case | MCPOAuthAuthResult.authorized | case authorized | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Case | MCPOAuthAuthResult.redirect | case redirect | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Case | MCPOAuthClientAuthMethod.clientSecretBasic | case clientSecretBasic | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Case | MCPOAuthClientAuthMethod.clientSecretPost | case clientSecretPost | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Case | MCPOAuthClientAuthMethod.none | case none | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Case | MCPOAuthCredentialScope.all | case all | Sources/SwiftAISDK/MCPTypes.swift |
| Case | MCPOAuthCredentialScope.client | case client | Sources/SwiftAISDK/MCPTypes.swift |
| Case | MCPOAuthCredentialScope.tokens | case tokens | Sources/SwiftAISDK/MCPTypes.swift |
| Case | MCPOAuthCredentialScope.verifier | case verifier | Sources/SwiftAISDK/MCPTypes.swift |
| Class | MCPClient | actor MCPClient | Sources/SwiftAISDK/MCPClientActor.swift |
| Class | MCPHTTPTransport | final class MCPHTTPTransport | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Class | MCPStdioTransport | final class MCPStdioTransport | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Enumeration | MCPApps | enum MCPApps | Sources/SwiftAISDK/MCPApps.swift |
| Enumeration | MCPAppToolMeta.Visibility | enum Visibility | Sources/SwiftAISDK/MCPApps.swift |
| Enumeration | MCPElicitAction | enum MCPElicitAction | Sources/SwiftAISDK/MCPTypes.swift |
| Enumeration | MCPOAuth | enum MCPOAuth | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Enumeration | MCPOAuthApplicationType | enum MCPOAuthApplicationType | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Enumeration | MCPOAuthAuthResult | enum MCPOAuthAuthResult | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Enumeration | MCPOAuthClientAuthMethod | enum MCPOAuthClientAuthMethod | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Enumeration | MCPOAuthCredentialScope | enum MCPOAuthCredentialScope | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(abortSignal:timeoutMilliseconds:maxTotalTimeoutMilliseconds:) | init(abortSignal: AIAbortSignal? = nil, timeoutMilliseconds: Int? = nil, maxTotalTimeoutMilliseconds: Int? = nil) | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Initializer | init(accessToken:idToken:tokenType:expiresIn:scope:refreshToken:issuer:authorizationServerURL:tokenEndpoint:rawValue:) | init(accessToken: String, idToken: String? = nil, tokenType: String, expiresIn: Int? = nil, scope: String? = nil, refreshToken: String? = nil, issuer: String? = nil, authorizationServerURL: URL? = nil, tokenEndpoint: URL? = nil, rawValue: JSONValue = .object([:])) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | init(action:content:metadata:resultType:rawValue:) | init(action: MCPElicitAction, content: [String : JSONValue]? = nil, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(authorizationServerURL:tokenEndpoint:issuer:) | init(authorizationServerURL: URL, tokenEndpoint: URL, issuer: String? = nil) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | init(authorizationURL:codeVerifier:) | init(authorizationURL: URL, codeVerifier: String) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | init(clientID:clientSecret:clientIDIssuedAt:clientSecretExpiresAt:issuer:authorizationServerURL:tokenEndpoint:rawValue:) | init(clientID: String, clientSecret: String? = nil, clientIDIssuedAt: Int? = nil, clientSecretExpiresAt: Int? = nil, issuer: String? = nil, authorizationServerURL: URL? = nil, tokenEndpoint: URL? = nil, rawValue: JSONValue = .object([:])) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | init(clientInformation:clientMetadata:rawValue:) | init(clientInformation: MCPOAuthClientInformation, clientMetadata: MCPOAuthClientMetadata, rawValue: JSONValue = .object([:])) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | init(command:args:env:cwd:) | init(command: String, args: [String] = [], env: [String : String] = [:], cwd: String? = nil) | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Initializer | init(command:args:env:cwd:) | convenience init(command: String, args: [String] = [], env: [String : String] = [:], cwd: String? = nil) | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Initializer | init(config:) | init(config: MCPStdioConfig) | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Initializer | init(content:structuredContent:toolResult:isError:metadata:resultType:rawValue:) | init(content: [JSONValue] = [], structuredContent: JSONValue? = nil, toolResult: JSONValue? = nil, isError: Bool = false, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(contents:metadata:resultType:rawValue:) | init(contents: [MCPResourceContent], metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(description:messages:metadata:resultType:rawValue:) | init(description: String? = nil, messages: [MCPPromptMessage], metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(headers:parameters:tokenURL:authorizationServerURL:metadata:) | init(headers: [String : String], parameters: [URLQueryItem], tokenURL: URL, authorizationServerURL: URL, metadata: MCPOAuthAuthorizationServerMetadata? = nil) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | init(issuer:authorizationEndpoint:tokenEndpoint:registrationEndpoint:authorizationResponseIssuerParameterSupported:clientIDMetadataDocumentSupported:responseTypesSupported:codeChallengeMethodsSupported:grantTypesSupported:tokenEndpointAuthMethodsSupported:rawValue:) | init(issuer: String, authorizationEndpoint: URL, tokenEndpoint: URL, registrationEndpoint: URL? = nil, authorizationResponseIssuerParameterSupported: Bool? = nil, clientIDMetadataDocumentSupported: Bool? = nil, responseTypesSupported: [String], codeChallengeMethodsSupported: [String], grantTypesSupported: [String] = [], tokenEndpointAuthMethodsSupported: [String] = [], rawValue: JSONValue = .object([:])) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | init(message:code:data:statusCode:url:responseBody:) | init(message: String, code: Int? = nil, data: JSONValue? = nil, statusCode: Int? = nil, url: String? = nil, responseBody: String? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(message:requestedSchema:metadata:rawValue:) | init(message: String, requestedSchema: JSONValue, metadata: JSONValue? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(modelVisible:appVisible:) | init(modelVisible: MCPListToolsResult, appVisible: MCPListToolsResult) | Sources/SwiftAISDK/MCPApps.swift |
| Initializer | init(name:description:required:rawValue:) | init(name: String, description: String? = nil, required: Bool? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(name:title:description:arguments:rawValue:) | init(name: String, title: String? = nil, description: String? = nil, arguments: [MCPPromptArgument] = [], rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(name:title:description:inputSchema:outputSchema:annotations:metadata:) | init(name: String, title: String? = nil, description: String? = nil, inputSchema: JSONValue, outputSchema: JSONValue? = nil, annotations: JSONValue? = nil, metadata: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(name:value:rawValue:) | init(name: String, value: String, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(name:version:title:) | init(name: String, version: String, title: String? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(prompts:nextCursor:metadata:resultType:rawValue:) | init(prompts: [MCPPrompt], nextCursor: String? = nil, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(redirectURIs:applicationType:tokenEndpointAuthMethod:grantTypes:responseTypes:clientName:clientURI:logoURI:scope:contacts:tosURI:policyURI:jwksURI:jwks:softwareID:softwareVersion:softwareStatement:) | init(redirectURIs: [URL], applicationType: MCPOAuthApplicationType? = nil, tokenEndpointAuthMethod: String? = nil, grantTypes: [String] = [], responseTypes: [String] = [], clientName: String? = nil, clientURI: URL? = nil, logoURI: URL? = nil, scope: String? = nil, contacts: [String] = [], tosURI: URL? = nil, policyURI: URL? = nil, jwksURI: URL? = nil, jwks: JSONValue? = nil, softwareID: String? = nil, softwareVersion: String? = nil, softwareStatement: String? = nil) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | init(resource:authorizationServers:scopesSupported:rawValue:) | init(resource: URL, authorizationServers: [URL] = [], scopesSupported: [String] = [], rawValue: JSONValue = .object([:])) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | init(resources:nextCursor:metadata:resultType:rawValue:) | init(resources: [MCPResource], nextCursor: String? = nil, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(resourceTemplates:metadata:resultType:rawValue:) | init(resourceTemplates: [MCPResourceTemplate], metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(resourceURI:visibility:rawValue:) | init(resourceURI: String? = nil, visibility: [String]? = nil, rawValue: JSONValue = .object([:])) | Sources/SwiftAISDK/MCPApps.swift |
| Initializer | init(role:content:rawValue:) | init(role: String, content: JSONValue, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(statusCode:code:message:uri:) | init(statusCode: Int? = nil, code: String? = nil, message: String, uri: String? = nil) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | init(title:readOnlyHint:destructiveHint:idempotentHint:openWorldHint:) | init(title: String? = nil, readOnlyHint: Bool? = nil, destructiveHint: Bool? = nil, idempotentHint: Bool? = nil, openWorldHint: Bool? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(tools:nextCursor:metadata:resultType:rawValue:) | init(tools: [MCPToolDefinition], nextCursor: String? = nil, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(uri:mimeType:html:metadata:) | init(uri: String, mimeType: String = MCPApps.appMIMEType, html: String, metadata: JSONValue? = nil) | Sources/SwiftAISDK/MCPApps.swift |
| Initializer | init(uri:name:title:description:mimeType:size:rawValue:) | init(uri: String, name: String, title: String? = nil, description: String? = nil, mimeType: String? = nil, size: Int? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(uri:name:title:mimeType:text:blob:rawValue:) | init(uri: String, name: String? = nil, title: String? = nil, mimeType: String? = nil, text: String? = nil, blob: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(uriTemplate:name:title:description:mimeType:rawValue:) | init(uriTemplate: String, name: String, title: String? = nil, description: String? = nil, mimeType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(url:headers:transport:authProvider:initialSessionID:initialProtocolVersion:terminateSessionOnClose:onSessionIDChange:onSessionExpired:maxInboundReconnectAttempts:inboundReconnectDelayNanoseconds:) | init(url: URL, headers: [String : String] = [:], transport: any AITransport = URLSessionTransport.shared, authProvider: (any MCPOAuthProvider)? = nil, initialSessionID: String? = nil, initialProtocolVersion: String? = nil, terminateSessionOnClose: Bool = true, onSessionIDChange: (@Sendable (String?) -> Void)? = nil, onSessionExpired: (@Sendable (String) -> Void)? = nil, maxInboundReconnectAttempts: Int = 2, inboundReconnectDelayNanoseconds: UInt64 = 1_000_000_000) | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Initializer | init(url:headers:transport:authProvider:initialSessionID:initialProtocolVersion:terminateSessionOnClose:onSessionIDChange:onSessionExpired:maxInboundReconnectAttempts:inboundReconnectDelayNanoseconds:) | convenience init(url: String, headers: [String : String] = [:], transport: any AITransport = URLSessionTransport.shared, authProvider: (any MCPOAuthProvider)? = nil, initialSessionID: String? = nil, initialProtocolVersion: String? = nil, terminateSessionOnClose: Bool = true, onSessionIDChange: (@Sendable (String?) -> Void)? = nil, onSessionExpired: (@Sendable (String) -> Void)? = nil, maxInboundReconnectAttempts: Int = 2, inboundReconnectDelayNanoseconds: UInt64 = 1_000_000_000) throws | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Initializer | init(values:total:hasMore:metadata:resultType:rawValue:) | init(values: [String], total: Int? = nil, hasMore: Bool? = nil, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | accessToken() | func accessToken() async throws -> String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | authenticateTokenRequest(_:) | func authenticateTokenRequest(_ request: MCPOAuthClientAuthenticationRequest) async throws -> MCPOAuthClientAuthenticationRequest? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | authenticateTokenRequest(_:) | func authenticateTokenRequest(_ request: MCPOAuthClientAuthenticationRequest) async throws -> MCPOAuthClientAuthenticationRequest? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | authorizationServerInformation() | func authorizationServerInformation() async throws -> MCPOAuthAuthorizationServerInformation? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | authorizationServerInformation() | func authorizationServerInformation() async throws -> MCPOAuthAuthorizationServerInformation? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | authorize(resourceMetadataURL:) | func authorize(resourceMetadataURL: URL?) async throws -> Bool | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | authorize(resourceMetadataURL:scope:) | func authorize(resourceMetadataURL: URL?, scope: String?) async throws -> Bool | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | authorize(resourceMetadataURL:scope:) | func authorize(resourceMetadataURL: URL?, scope: String?) async throws -> Bool | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | callTool(name:arguments:options:) | func callTool(name: String, arguments: JSONValue = .object([:]), options: MCPRequestOptions? = nil) async throws -> MCPCallToolResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | clientInformation() | func clientInformation() async throws -> MCPOAuthClientInformation? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | clientInformation() | func clientInformation() async throws -> MCPOAuthClientInformation? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | close() | func close() async throws | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | close() | func close() async throws | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Method | close() | func close() async throws | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Method | close() | func close() async throws | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | codeVerifier() | func codeVerifier() async throws -> String | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | complete(ref:argument:contextArguments:metadata:options:) | func complete(ref: JSONValue, argument: MCPCompleteArgument, contextArguments: [String : String]? = nil, metadata: JSONValue? = nil, options: MCPRequestOptions? = nil) async throws -> MCPCompleteResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | experimentalGetPrompt(name:arguments:options:) | func experimentalGetPrompt(name: String, arguments: JSONValue = .object([:]), options: MCPRequestOptions? = nil) async throws -> MCPGetPromptResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | experimentalListPrompts(cursor:options:) | func experimentalListPrompts(cursor: String? = nil, options: MCPRequestOptions? = nil) async throws -> MCPListPromptsResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | invalidateCredentials(_:) | func invalidateCredentials(_ scope: MCPOAuthCredentialScope) async | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | invalidateCredentials(_:) | func invalidateCredentials(_ scope: MCPOAuthCredentialScope) async | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | invalidateCredentials(_:) | func invalidateCredentials(_ scope: MCPOAuthCredentialScope) async | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | invalidateCredentials(_:) | func invalidateCredentials(_ scope: MCPOAuthCredentialScope) async | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | listResources(cursor:options:) | func listResources(cursor: String? = nil, options: MCPRequestOptions? = nil) async throws -> MCPListResourcesResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | listResourceTemplates(options:) | func listResourceTemplates(options: MCPRequestOptions? = nil) async throws -> MCPListResourceTemplatesResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | listTools(cursor:) | func listTools(cursor: String? = nil) async throws -> MCPListToolsResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | notify(_:) | func notify(_ message: JSONValue) async throws | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Method | notify(_:) | func notify(_ message: JSONValue) async throws | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Method | notify(_:) | func notify(_ message: JSONValue) async throws | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | onElicitationRequest(_:) | func onElicitationRequest(_ handler: MCPElicitationHandler?) | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | readResource(uri:options:) | func readResource(uri: String, options: MCPRequestOptions? = nil) async throws -> MCPReadResourceResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | redirectToAuthorization(_:) | func redirectToAuthorization(_ authorizationURL: URL) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | request(_:) | func request(_ message: JSONValue) async throws -> JSONValue | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Method | request(_:) | func request(_ message: JSONValue) async throws -> JSONValue | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Method | request(_:) | func request(_ message: JSONValue) async throws -> JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | request(_:options:) | func request(_ message: JSONValue, options: MCPRequestOptions?) async throws -> JSONValue | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Method | request(_:options:) | func request(_ message: JSONValue, options: MCPRequestOptions?) async throws -> JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | request(_:options:) | func request(_ message: JSONValue, options: MCPRequestOptions?) async throws -> JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | saveAuthorizationServerInformation(_:) | func saveAuthorizationServerInformation(_ information: MCPOAuthAuthorizationServerInformation) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | saveAuthorizationServerInformation(_:) | func saveAuthorizationServerInformation(_ information: MCPOAuthAuthorizationServerInformation) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | saveClientInformation(_:) | func saveClientInformation(_ clientInformation: MCPOAuthClientInformation) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | saveClientInformation(_:) | func saveClientInformation(_ clientInformation: MCPOAuthClientInformation) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | saveCodeVerifier(_:) | func saveCodeVerifier(_ codeVerifier: String) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | saveState(_:) | func saveState(_ state: String) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | saveState(_:) | func saveState(_ state: String) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | saveTokens(_:) | func saveTokens(_ tokens: MCPOAuthTokens) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | setProtocolVersion(_:) | func setProtocolVersion(_ protocolVersion: String?) async | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Method | setProtocolVersion(_:) | func setProtocolVersion(_ protocolVersion: String?) async | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | setProtocolVersion(_:) | func setProtocolVersion(_ protocolVersion: String?) async | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | setRequestHandler(_:) | func setRequestHandler(_ handler: (@Sendable (JSONValue) async -> JSONValue)?) async | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Method | setRequestHandler(_:) | func setRequestHandler(_ handler: (@Sendable (JSONValue) async -> JSONValue)?) async | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Method | setRequestHandler(_:) | func setRequestHandler(_ handler: (@Sendable (JSONValue) async -> JSONValue)?) async | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | setRequestHandler(_:) | func setRequestHandler(_ handler: (@Sendable (JSONValue) async -> JSONValue)?) async | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | start() | func start() async throws | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Method | start() | func start() async throws | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Method | start() | func start() async throws | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | state() | func state() async throws -> String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | state() | func state() async throws -> String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | storedState() | func storedState() async throws -> String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | storedState() | func storedState() async throws -> String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | tokens() | func tokens() async throws -> MCPOAuthTokens? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | tools() | func tools() async throws -> [String : AITool] | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | toolsFromDefinitions(_:) | func toolsFromDefinitions(_ definitions: MCPListToolsResult) -> [String : AITool] | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | validateAuthorizationServerURL(serverURL:authorizationServerURL:) | func validateAuthorizationServerURL(serverURL: URL, authorizationServerURL: URL) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | validateAuthorizationServerURL(serverURL:authorizationServerURL:) | func validateAuthorizationServerURL(serverURL: URL, authorizationServerURL: URL) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | validateResourceURL(serverURL:resource:) | func validateResourceURL(serverURL: URL, resource: URL?) async throws -> URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | validateResourceURL(serverURL:resource:) | func validateResourceURL(serverURL: URL, resource: URL?) async throws -> URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Property | accessToken | var accessToken: String | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | action | var action: MCPElicitAction | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | annotations | var annotations: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | applicationType | var applicationType: MCPOAuthApplicationType? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | appVisible | var appVisible: MCPListToolsResult | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | args | var args: [String] | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Property | arguments | var arguments: [MCPPromptArgument] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | authorizationEndpoint | var authorizationEndpoint: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | authorizationResponseIssuerParameterSupported | var authorizationResponseIssuerParameterSupported: Bool? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | authorizationServers | var authorizationServers: [URL] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | authorizationServerURL | var authorizationServerURL: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | authorizationServerURL | var authorizationServerURL: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | authorizationServerURL | var authorizationServerURL: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | authorizationServerURL | var authorizationServerURL: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | authorizationURL | var authorizationURL: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | blob | var blob: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | clientID | var clientID: String | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | clientIDIssuedAt | var clientIDIssuedAt: Int? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | clientIDMetadataDocumentSupported | var clientIDMetadataDocumentSupported: Bool? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | clientInformation | var clientInformation: MCPOAuthClientInformation | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | clientMetadata | var clientMetadata: MCPOAuthClientMetadata | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | clientMetadata | var clientMetadata: MCPOAuthClientMetadata { get } | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | clientName | var clientName: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | clientSecret | var clientSecret: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | clientSecretExpiresAt | var clientSecretExpiresAt: Int? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | clientURI | var clientURI: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | code | var code: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | code | var code: Int? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | codeChallengeMethodsSupported | var codeChallengeMethodsSupported: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | codeVerifier | var codeVerifier: String | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | command | var command: String | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Property | contacts | var contacts: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | content | var content: [JSONValue] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | content | var content: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | content | var content: [String : JSONValue]? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | contents | var contents: [MCPResourceContent] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | cwd | var cwd: String? | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Property | data | var data: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | description | var description: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | description | var description: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | description | var description: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | description | var description: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | description | var description: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | description | var description: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | destructiveHint | var destructiveHint: Bool? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | env | var env: [String : String] | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Property | expiresIn | var expiresIn: Int? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | grantTypes | var grantTypes: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | grantTypesSupported | var grantTypesSupported: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | hasMore | var hasMore: Bool? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | html | var html: String | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | idempotentHint | var idempotentHint: Bool? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | idToken | var idToken: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | initializeResult | var initializeResult: JSONValue { get } | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Property | inputSchema | var inputSchema: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | instructions | var instructions: String? { get } | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Property | isError | var isError: Bool | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | issuer | var issuer: String | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | issuer | var issuer: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | issuer | var issuer: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | issuer | var issuer: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | jsonValue | var jsonValue: JSONValue { get } | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | jsonValue | var jsonValue: JSONValue { get } | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | jwks | var jwks: JSONValue? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | jwksURI | var jwksURI: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | logoURI | var logoURI: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | maxTotalTimeoutMilliseconds | var maxTotalTimeoutMilliseconds: Int? | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Property | message | var message: String | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | message | var message: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | message | var message: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | messages | var messages: [MCPPromptMessage] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | metadata | var metadata: MCPOAuthAuthorizationServerMetadata? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | mimeType | var mimeType: String | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | mimeType | var mimeType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | mimeType | var mimeType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | mimeType | var mimeType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | modelVisible | var modelVisible: MCPListToolsResult | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | name | var name: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | name | var name: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | name | var name: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | name | var name: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | name | var name: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | name | var name: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | name | var name: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | name | var name: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | nextCursor | var nextCursor: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | nextCursor | var nextCursor: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | nextCursor | var nextCursor: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | openWorldHint | var openWorldHint: Bool? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | outputSchema | var outputSchema: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | parameters | var parameters: [URLQueryItem] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | policyURI | var policyURI: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | prompts | var prompts: [MCPPrompt] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | readOnlyHint | var readOnlyHint: Bool? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | redirectURIs | var redirectURIs: [URL] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | redirectURL | var redirectURL: URL { get } | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | refreshToken | var refreshToken: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | registrationEndpoint | var registrationEndpoint: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | requestedSchema | var requestedSchema: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | required | var required: Bool? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | resource | var resource: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | resources | var resources: [MCPResource] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | resourceTemplates | var resourceTemplates: [MCPResourceTemplate] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | resourceURI | var resourceURI: String? | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | responseBody | var responseBody: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | responseTypes | var responseTypes: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | responseTypesSupported | var responseTypesSupported: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | role | var role: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | scope | var scope: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | scope | var scope: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | scopesSupported | var scopesSupported: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | serverCapabilities | var serverCapabilities: JSONValue { get } | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Property | serverInfo | var serverInfo: MCPImplementation { get } | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Property | size | var size: Int? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | softwareID | var softwareID: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | softwareStatement | var softwareStatement: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | softwareVersion | var softwareVersion: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | statusCode | var statusCode: Int? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | statusCode | var statusCode: Int? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | structuredContent | var structuredContent: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | supportsDynamicClientRegistration | var supportsDynamicClientRegistration: Bool { get } | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | supportsDynamicClientRegistration | var supportsDynamicClientRegistration: Bool { get } | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | supportsMCPToolParameterHeaders | let supportsMCPToolParameterHeaders: Bool | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Property | supportsMCPToolParameterHeaders | var supportsMCPToolParameterHeaders: Bool { get } | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | supportsMCPToolParameterHeaders | var supportsMCPToolParameterHeaders: Bool { get } | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | supportsProtocolVersionDiscovery | let supportsProtocolVersionDiscovery: Bool | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Property | supportsProtocolVersionDiscovery | let supportsProtocolVersionDiscovery: Bool | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Property | supportsProtocolVersionDiscovery | var supportsProtocolVersionDiscovery: Bool { get } | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | supportsProtocolVersionDiscovery | var supportsProtocolVersionDiscovery: Bool { get } | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | text | var text: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | timeoutMilliseconds | var timeoutMilliseconds: Int? | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Property | title | var title: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | title | var title: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | title | var title: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | title | var title: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | title | var title: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | title | var title: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | title | var title: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | tokenEndpoint | var tokenEndpoint: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | tokenEndpoint | var tokenEndpoint: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | tokenEndpoint | var tokenEndpoint: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | tokenEndpoint | var tokenEndpoint: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | tokenEndpointAuthMethod | var tokenEndpointAuthMethod: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | tokenEndpointAuthMethodsSupported | var tokenEndpointAuthMethodsSupported: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | tokenType | var tokenType: String | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | tokenURL | var tokenURL: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | toolAnnotations | var toolAnnotations: MCPToolAnnotations? { get } | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | toolResult | var toolResult: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | tools | var tools: [MCPToolDefinition] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | tosURI | var tosURI: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | total | var total: Int? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | uri | var uri: String | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | uri | var uri: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | uri | var uri: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | uri | var uri: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | uriTemplate | var uriTemplate: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | url | var url: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | value | var value: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | values | var values: [String] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | version | var version: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | visibility | var visibility: [MCPAppToolMeta.Visibility]? | Sources/SwiftAISDK/MCPApps.swift |
| Protocol | MCPOAuthClientProvider | protocol MCPOAuthClientProvider : Sendable | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Protocol | MCPOAuthProvider | protocol MCPOAuthProvider : Sendable | Sources/SwiftAISDK/MCPTypes.swift |
| Protocol | MCPTransport | protocol MCPTransport : Sendable | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPAppResource | struct MCPAppResource | Sources/SwiftAISDK/MCPApps.swift |
| Structure | MCPAppToolMeta | struct MCPAppToolMeta | Sources/SwiftAISDK/MCPApps.swift |
| Structure | MCPAppToolSplit | struct MCPAppToolSplit | Sources/SwiftAISDK/MCPApps.swift |
| Structure | MCPCallToolResult | struct MCPCallToolResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPClientError | struct MCPClientError | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPCompleteArgument | struct MCPCompleteArgument | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPCompleteResult | struct MCPCompleteResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPElicitationRequest | struct MCPElicitationRequest | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPElicitResult | struct MCPElicitResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPGetPromptResult | struct MCPGetPromptResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPImplementation | struct MCPImplementation | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPListPromptsResult | struct MCPListPromptsResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPListResourcesResult | struct MCPListResourcesResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPListResourceTemplatesResult | struct MCPListResourceTemplatesResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPListToolsResult | struct MCPListToolsResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPOAuthAuthorizationServerInformation | struct MCPOAuthAuthorizationServerInformation | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | MCPOAuthAuthorizationServerMetadata | struct MCPOAuthAuthorizationServerMetadata | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | MCPOAuthClientAuthenticationRequest | struct MCPOAuthClientAuthenticationRequest | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | MCPOAuthClientInformation | struct MCPOAuthClientInformation | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | MCPOAuthClientInformationFull | struct MCPOAuthClientInformationFull | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | MCPOAuthClientMetadata | struct MCPOAuthClientMetadata | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | MCPOAuthDiscovery | struct MCPOAuthDiscovery | Sources/SwiftAISDK/MCPOAuthDiscovery.swift |
| Structure | MCPOAuthProtectedResourceMetadata | struct MCPOAuthProtectedResourceMetadata | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | MCPOAuthServerError | struct MCPOAuthServerError | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | MCPOAuthStartAuthorizationResult | struct MCPOAuthStartAuthorizationResult | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | MCPOAuthTokens | struct MCPOAuthTokens | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | MCPPrompt | struct MCPPrompt | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPPromptArgument | struct MCPPromptArgument | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPPromptMessage | struct MCPPromptMessage | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPReadResourceResult | struct MCPReadResourceResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPRequestOptions | struct MCPRequestOptions | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Structure | MCPResource | struct MCPResource | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPResourceContent | struct MCPResourceContent | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPResourceTemplate | struct MCPResourceTemplate | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPStdioConfig | struct MCPStdioConfig | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Structure | MCPToolAnnotations | struct MCPToolAnnotations | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPToolDefinition | struct MCPToolDefinition | Sources/SwiftAISDK/MCPTypes.swift |
| Type Alias | MCPElicitationHandler | typealias MCPElicitationHandler = @Sendable (MCPElicitationRequest) async throws -> MCPElicitResult | Sources/SwiftAISDK/MCPTypes.swift |
| Type Alias | MCPOAuthClientAuthenticationHandler | typealias MCPOAuthClientAuthenticationHandler = @Sendable (MCPOAuthClientAuthenticationRequest) async throws -> MCPOAuthClientAuthenticationRequest? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Type Method | auth(provider:serverURL:authorizationCode:callbackState:callbackIssuer:scope:resourceMetadataURL:protocolVersion:transport:) | static func auth(provider: any MCPOAuthClientProvider, serverURL: URL, authorizationCode: String? = nil, callbackState: String? = nil, callbackIssuer: String? = nil, scope: String? = nil, resourceMetadataURL: URL? = nil, protocolVersion: String = MCPClient.latestProtocolVersion, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthAuthResult | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | auth(provider:serverURL:authorizationCode:callbackState:callbackIssuer:scope:resourceMetadataURL:protocolVersion:transport:) | static func auth(provider: any MCPOAuthClientProvider, serverURL: String, authorizationCode: String? = nil, callbackState: String? = nil, callbackIssuer: String? = nil, scope: String? = nil, resourceMetadataURL: String? = nil, protocolVersion: String = MCPClient.latestProtocolVersion, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthAuthResult | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | buildAuthorizationServerDiscoveryURLs(_:) | static func buildAuthorizationServerDiscoveryURLs(_ authorizationServerURL: URL) -> [URL] | Sources/SwiftAISDK/MCPOAuthDiscovery.swift |
| Type Method | connect(transport:clientName:clientVersion:clientCapabilities:initialInitializeResult:initializationOptions:maxRetries:protocolVersionDiscovery:onUncaughtError:) | static func connect(transport: any MCPTransport, clientName: String = "swift-ai-sdk-mcp-client", clientVersion: String = "1.0.0", clientCapabilities: JSONValue = .object([:]), initialInitializeResult: JSONValue? = nil, initializationOptions: MCPRequestOptions? = nil, maxRetries: Int = 0, protocolVersionDiscovery: Bool = true, onUncaughtError: (@Sendable (any Error) -> Void)? = nil) async throws -> MCPClient | Sources/SwiftAISDK/MCPClientActor.swift |
| Type Method | discoverAuthorizationServerMetadata(authorizationServerURL:protocolVersion:transport:) | static func discoverAuthorizationServerMetadata(authorizationServerURL: URL, protocolVersion: String = MCPClient.latestProtocolVersion, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthAuthorizationServerMetadata? | Sources/SwiftAISDK/MCPOAuthDiscovery.swift |
| Type Method | discoverAuthorizationServerMetadata(authorizationServerURL:protocolVersion:transport:) | static func discoverAuthorizationServerMetadata(authorizationServerURL: String, protocolVersion: String = MCPClient.latestProtocolVersion, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthAuthorizationServerMetadata? | Sources/SwiftAISDK/MCPOAuthDiscovery.swift |
| Type Method | discoverProtectedResourceMetadata(serverURL:protocolVersion:resourceMetadataURL:transport:) | static func discoverProtectedResourceMetadata(serverURL: URL, protocolVersion: String = MCPClient.latestProtocolVersion, resourceMetadataURL: URL? = nil, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthProtectedResourceMetadata | Sources/SwiftAISDK/MCPOAuthDiscovery.swift |
| Type Method | discoverProtectedResourceMetadata(serverURL:protocolVersion:resourceMetadataURL:transport:) | static func discoverProtectedResourceMetadata(serverURL: String, protocolVersion: String = MCPClient.latestProtocolVersion, resourceMetadataURL: String? = nil, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthProtectedResourceMetadata | Sources/SwiftAISDK/MCPOAuthDiscovery.swift |
| Type Method | exchangeAuthorization(authorizationServerURL:metadata:clientInformation:authorizationCode:codeVerifier:redirectURI:resource:clientAuthentication:transport:) | static func exchangeAuthorization(authorizationServerURL: URL, metadata: MCPOAuthAuthorizationServerMetadata? = nil, clientInformation: MCPOAuthClientInformation, authorizationCode: String, codeVerifier: String, redirectURI: URL, resource: URL? = nil, clientAuthentication: MCPOAuthClientAuthenticationHandler? = nil, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthTokens | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | isAppTool(_:) | static func isAppTool(_ tool: MCPToolDefinition) throws -> Bool | Sources/SwiftAISDK/MCPApps.swift |
| Type Method | readResource(client:uri:options:) | static func readResource(client: MCPClient, uri: String, options: MCPRequestOptions? = nil) async throws -> MCPAppResource | Sources/SwiftAISDK/MCPApps.swift |
| Type Method | refreshAuthorization(authorizationServerURL:metadata:clientInformation:refreshToken:resource:clientAuthentication:transport:) | static func refreshAuthorization(authorizationServerURL: URL, metadata: MCPOAuthAuthorizationServerMetadata? = nil, clientInformation: MCPOAuthClientInformation, refreshToken: String, resource: URL? = nil, clientAuthentication: MCPOAuthClientAuthenticationHandler? = nil, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthTokens | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | registerClient(authorizationServerURL:metadata:clientMetadata:transport:) | static func registerClient(authorizationServerURL: URL, metadata: MCPOAuthAuthorizationServerMetadata? = nil, clientMetadata: MCPOAuthClientMetadata, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthClientInformationFull | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | resource(uri:from:) | static func resource(uri: String, from readResult: MCPReadResourceResult) throws -> MCPAppResource | Sources/SwiftAISDK/MCPApps.swift |
| Type Method | resourceURI(from:) | static func resourceURI(from tool: MCPToolDefinition) throws -> String? | Sources/SwiftAISDK/MCPApps.swift |
| Type Method | resourceURIs(from:) | static func resourceURIs(from definitions: MCPListToolsResult) throws -> [String] | Sources/SwiftAISDK/MCPApps.swift |
| Type Method | selectResourceURL(serverURL:provider:resourceMetadata:) | static func selectResourceURL(serverURL: URL, provider: any MCPOAuthClientProvider, resourceMetadata: MCPOAuthProtectedResourceMetadata?) async throws -> URL? | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | splitTools(_:) | static func splitTools(_ definitions: MCPListToolsResult) throws -> MCPAppToolSplit | Sources/SwiftAISDK/MCPApps.swift |
| Type Method | startAuthorization(authorizationServerURL:metadata:clientInformation:redirectURL:scope:state:resource:codeVerifier:) | static func startAuthorization(authorizationServerURL: URL, metadata: MCPOAuthAuthorizationServerMetadata? = nil, clientInformation: MCPOAuthClientInformation, redirectURL: URL, scope: String? = nil, state: String? = nil, resource: URL? = nil, codeVerifier: String? = nil) throws -> MCPOAuthStartAuthorizationResult | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | startAuthorization(authorizationServerURL:metadata:clientInformation:redirectURL:scope:state:resource:codeVerifier:) | static func startAuthorization(authorizationServerURL: String, metadata: MCPOAuthAuthorizationServerMetadata? = nil, clientInformation: MCPOAuthClientInformation, redirectURL: String, scope: String? = nil, state: String? = nil, resource: String? = nil, codeVerifier: String? = nil) throws -> MCPOAuthStartAuthorizationResult | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | toolMeta(from:) | static func toolMeta(from tool: MCPToolDefinition) throws -> MCPAppToolMeta? | Sources/SwiftAISDK/MCPApps.swift |
| Type Property | appMIMEType | static let appMIMEType: String | Sources/SwiftAISDK/MCPApps.swift |
| Type Property | clientCapabilities | static let clientCapabilities: JSONValue | Sources/SwiftAISDK/MCPApps.swift |
| Type Property | extensionName | static let extensionName: String | Sources/SwiftAISDK/MCPApps.swift |
| Type Property | latestLegacyProtocolVersion | static let latestLegacyProtocolVersion: String | Sources/SwiftAISDK/MCPClientActor.swift |
| Type Property | latestProtocolVersion | static let latestProtocolVersion: String | Sources/SwiftAISDK/MCPClientActor.swift |
| Type Property | legacyResourceURIMetadataKey | static let legacyResourceURIMetadataKey: String | Sources/SwiftAISDK/MCPApps.swift |
| Type Property | supportedProtocolVersions | static let supportedProtocolVersions: Set<String> | Sources/SwiftAISDK/MCPClientActor.swift |