Clinicaltrials Get Field Definitions
clinicaltrials_get_field_definitionsRetrieve ClinicalTrials.gov field definitions to identify piece names for AREA[] filters and data queries. Access data types and nesting structure, browsing the full schema or drilling into specific sections via dot-notation paths.
Instructions
Get field definitions from the ClinicalTrials.gov study data model. Returns the field tree with piece names (used in the fields parameter and AREA[] filters), data types, and nesting structure. Call with no path for a top-level overview, then drill into a section with the path parameter to see its fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Dot-notation path to get a subtree. E.g., "protocolSection.designModule", "protocolSection.eligibilityModule", "resultsSection". Omit for top-level overview (sections + direct children, not the full tree). | |
| includeIndexedOnly | No | Only return indexed (searchable) fields. Default: false. Has no visible effect at the top level — use with a path to filter leaf fields. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Field definitions. | |
| totalFields | Yes | Total fields returned. | |
| resolvedPath | No | Resolved path when path param was used. |