Submit compact ClinicalTrials.gov API v2 requests for study search, metadata, enums, search areas, and field statistics. Use when a user wants concise ClinicalTrials.gov summaries
name: clinicaltrials-skill
description: Submit compact ClinicalTrials.gov API v2 requests for study search, metadata, enums, search areas, and field statistics. Use when a user wants concise ClinicalTrials.gov summaries
Operating rules
Use scripts/clinicaltrials_client.py for all ClinicalTrials.gov v2 calls.
Study searches are better with max_items=10 and max_pages=1; only increase pages when the user explicitly wants more than the first page.
Use targeted params instead of broad unfiltered study dumps.
Re-run requests in long conversations instead of relying on older tool output.
Treat displayed ... in tool previews as UI truncation, not literal request content.
Execution behavior
Return concise markdown summaries from the script JSON by default.
Prefer action=studies for search and action=metadata|search_areas|enums|stats_size|field_values|field_sizes for API introspection and field stats.
If the user needs full pages or aggregated responses, set save_raw=true and report the saved file path.