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/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/mcp/transports/recordingTransport.ts#L17

Docs