AxMCPClientEvent Generated TypeScript API reference. typescript api api/reference build/apidocs/TypeAlias.AxMCPClientEvent.md type AxMCPClientEvent

AxMCPClientEvent

TypeScript
type AxMCPClientEvent = 
  | {
  catalog: "tools" | "prompts" | "resources";
  revision: number;
  type: "catalog_changed";
}
  | {
  type: "resource_updated";
  uri: string;
}
  | {
  params: Readonly<Record<string, unknown>>;
  type: "logging";
}
  | {
  params: Readonly<AxMCPProgressNotificationParams>;
  type: "progress";
}
  | {
  task: Readonly<AxMCPTask>;
  type: "task_status";
}
  | {
  state: "reconnected";
  type: "lifecycle";
}
  | {
  notification: Readonly<AxMCPJSONRPCNotification>;
  type: "notification";
};

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

Docs