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

AxMCPTransportRecordingEntry

TypeScript
type AxMCPTransportRecordingEntry = 
  | {
  direction: "request";
  message: AxMCPJSONRPCRequest<unknown>;
  response: AxMCPJSONRPCResponse<unknown>;
}
  | {
  direction: "notification";
  message: AxMCPJSONRPCNotification;
}
  | {
  direction: "response";
  message: AxMCPJSONRPCResponse;
}
  | {
  direction: "inbound";
  message: AxMCPJSONRPCMessage;
};

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/mcp/transports/recordingTransport.ts#L15

Docs