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

Docs