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, or a ChEMBL target ID such as CHEMBL203 to read that one target); 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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "chembl_search_targets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum targets to return, up to 100 — a larger value is served at 100, with a notice saying so. 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" — or a ChEMBL target ID in any case, e.g. "CHEMBL203", which returns that one target. | |
| 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 by the scientific name ChEMBL records, e.g. "Homo sapiens" (case-insensitive exact match) — a common name such as "human" matches nothing. | |
| 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 one target class, named in full, e.g. "SINGLE PROTEIN" or "PROTEIN COMPLEX" (exact match on the whole class, case-insensitive here) — a partial class such as "PROTEIN" matches nothing. |
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 every filter sent, names the organism or target_type form ChEMBL matches, and suggests how to broaden — and the disclosure that a limit above the maximum was served at the maximum. | |
| 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. |