AxMCPAppBridgeOptions Generated TypeScript API reference. typescript api api/reference build/apidocs/Interface.AxMCPAppBridgeOptions.md interface AxMCPAppBridgeOptions

AxMCPAppBridgeOptions

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/mcp/apps.ts#L62

Properties

PropertyType
authorize?(action: Readonly<{ method: string; namespace: string; params: unknown; tool: string; }>) => boolean | Promise<boolean>
clientAxMCPClient
hostCapabilities?Readonly<Record<string, unknown>>
hostContext?Readonly<Record<string, unknown>>
log?(params: unknown) => void | Promise<void>
openLink?(url: string) => void | Promise<void>
requestDisplayMode?(mode: AxMCPAppDisplayMode) => | AxMCPAppDisplayMode | Promise<AxMCPAppDisplayMode>
sendMessage?(message: Readonly<Record<string, unknown>>) => void | Promise<void>
sendToView?(message: Readonly<AxMCPJSONRPCMessage>) => void | Promise<void>
sizeChanged?(size: Readonly<{ height: number; width: number; }>) => void
toolstring | AxMCPTool
updateModelContext?(update: Readonly<AxMCPAppContextUpdate>) => void | Promise<void>
Docs