axMCPChat
function axMCPChat(
ai: Readonly<AxAIService>,
request: Readonly<AxChatRequest>,
options: Readonly<AxMCPChatOptions>): Promise<AxMCPChatResult>;Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/mcp/chat.ts#L38
High-level chat loop with native MCP/UCP tool dispatch and retained history.
Parameters
| Parameter | Type |
|---|---|
ai | Readonly<AxAIService> |
request | Readonly<AxChatRequest> |
options | Readonly<AxMCPChatOptions> |
Returns
Promise<AxMCPChatResult>