UNPKG

clinicaltrialsgov-mcp-server

Version:

Search ClinicalTrials.gov trials, retrieve study details and results, and match patients to eligible trials via MCP. STDIO or Streamable HTTP.

16 lines 707 B
/** * @fileoverview Shared formatting helpers for tool format() functions. * @module mcp-server/tools/utils/format-helpers */ /** * Render study fields not already covered by the primary formatter. * `renderedPrefixes` uses dot-notation paths matching the study structure * (e.g., `"protocolSection.identificationModule.nctId"`). * * Returns indented lines suitable for appending after a study's primary output. */ export declare function formatRemainingStudyFields(study: Record<string, unknown>, renderedPrefixes: ReadonlySet<string>, { maxLines, maxValueLen }?: { maxLines?: number | undefined; maxValueLen?: number | undefined; }): string[]; //# sourceMappingURL=format-helpers.d.ts.map