chembl-search-targets
chembl_search_targetsResolve a protein/gene/UniProt accession to the ChEMBL target ID that chembl_get_bioactivities needs for the target→leads workflow. Supply at least one of accession (UniProt, e.g. P00533), gene_symbol (e.g. EGFR), or query (free-text name); filter further by organism and target_type. Returns each target with its type, organism, and component UniProt accessions + gene symbols. A UniProt accession from the uniprot/protein server is the most precise input. A capped result carries nextCursor — pass it back as cursor with the same filters to read the next page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum targets to return. Defaults to the server default (25) when omitted. | |
| query | No | Free-text name match against the target preferred name, e.g. "kinase" or "growth factor receptor". | |
| cursor | No | Opaque continuation token from a previous call's nextCursor — resumes where that page ended. Omit for the first page. Re-send the same accession/gene_symbol/query/filters that minted it (only limit may change; it sets this page's size); redeeming it against different filters walks a different result set. | |
| organism | No | Restrict to a source organism, e.g. "Homo sapiens" (case-insensitive exact match). | |
| accession | No | UniProt accession of a target component, e.g. "P00533". The most precise resolver — from the uniprot/protein server. | |
| gene_symbol | No | Gene symbol of a target component, e.g. "EGFR" (case-insensitive exact match). | |
| target_type | No | Restrict to a target class, e.g. "SINGLE PROTEIN" or "PROTEIN COMPLEX". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | The limit that was applied. | |
| error | No | Present when the call failed. Absent on success. | |
| shown | No | Number of targets returned. | |
| notice | No | Guidance when no target matched — echoes the filters and suggests how to broaden. | |
| targets | No | Matching targets (up to the limit). | |
| truncated | No | True when the result was capped at the limit. | |
| nextCursor | No | Opaque token for the next page — pass it back as cursor with the same filters. Absent when this page is the last one. | |
| totalCount | No | Total targets matching the filters before the limit was applied. |