Search clinical trials
search_clinical_trialsSearch public clinical trials from ClinicalTrials.gov by condition, treatment or sponsor, optionally narrowed by place (city, state, country, or a ZIP code with a radius), status, phase, sex or age. Use this first when a person wants to find trials; use get_clinical_trial when you already have an NCT ID. Each result has public registry fields and a clareohealth.com link. Results are paged: when hasMore is true, call again with page set to nextPage. Send conditions and places only, never a person's name, diagnosis history, medications or other health details. Not medical advice.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_clinical_trials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sex | No | Keep trials open to this sex. "all" applies no filter. | |
| zip | No | A 5-digit US ZIP code, to find trials with a site within radiusMiles of it. Use it only when the person chooses to give a ZIP for this search. It is turned into coordinates on our server and not stored. | |
| city | No | City, for example "Boston". Combine with state or country to narrow it. | |
| page | No | ||
| limit | No | Results per page. | |
| phase | No | Phases to keep, for example ["PHASE2","PHASE3"]. | |
| query | Yes | Condition, treatment or sponsor, for example "breast cancer" or "type 1 diabetes". A place in the text ("asthma in Boston") also works; city, state and country are clearer. | |
| state | No | State or region, for example "Massachusetts". | |
| maxAge | No | Whole years. See minAge. | |
| minAge | No | Whole years. With maxAge, keeps trials whose eligible ages overlap minAge to maxAge. Use the same number for both to match one age. | |
| sortBy | No | relevance is the registry's order with condition matches first. distance (needs zip, or city with state and radiusMiles) puts the nearest site first among the best 50 matches. | relevance |
| status | No | Registry statuses to keep, for example ["RECRUITING","NOT_YET_RECRUITING"]. | |
| country | No | Country, for example "United States". | |
| sortOrder | No | Used with lastUpdated or startDate. | desc |
| radiusMiles | No | Search radius in miles around zip, or around city with state. Defaults to 50 with a zip. Giving it with city and state searches around that US city instead of matching its name. | |
| recruitingOnly | No | Only trials that are recruiting or enrolling by invitation. Ignored when status is set. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| total | Yes | How many trials match in the registry. | |
| hasMore | Yes | ||
| results | Yes | ||
| nextPage | Yes | Pass as page to get the next results, null on the last page. | |
| searchUrl | Yes | The same search on clareohealth.com, for a person to open. | |
| appliedFilters | No | The filters the search used, so you can tell a person what was applied. |