AxMCPAppBridgeOptions
Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/mcp/apps.ts#L62
Properties
| Property | Type |
|---|---|
authorize? | (action: Readonly<{ method: string; namespace: string; params: unknown; tool: string; }>) => boolean | Promise<boolean> |
client | AxMCPClient |
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 |
tool | string | AxMCPTool |
updateModelContext? | (update: Readonly<AxMCPAppContextUpdate>) => void | Promise<void> |