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

Docs