fetch_clinical_trials
Search ClinicalTrials.gov for cancer-related studies using filters like condition, status, and location, then store results in a research database for medical document management.
Instructions
Fetch clinical trials from ClinicalTrials.gov and store in research_entries.
Searches the ClinicalTrials.gov API v2 for matching studies and saves them to the research_entries table (deduplicates by NCT number).
Args: condition: Medical condition to search for (e.g. "colorectal cancer"). keywords: Additional search terms (e.g. "FOLFOX", "immunotherapy"). status: Trial status filter (RECRUITING, ACTIVE_NOT_RECRUITING, COMPLETED). location_country: Country filter (e.g. "United States", "Slovakia"). phase: Phase filter (PHASE1, PHASE2, PHASE3, PHASE4). limit: Maximum number of trials to fetch (default 20).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| condition | Yes | ||
| keywords | No | ||
| status | No | RECRUITING | |
| location_country | No | ||
| phase | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |